Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix analyze issues #1908

Merged
merged 2 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dart/lib/src/client_reports/client_report_recorder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class _QuantityKey {
int get hashCode => Object.hash(reason.hashCode, category.hashCode);

@override
// ignore: non_nullable_equals_parameter
bool operator ==(dynamic other) {
return other is _QuantityKey &&
other.reason == reason &&
Expand Down
6 changes: 3 additions & 3 deletions dart/test/sentry_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ void main() {
final options = SentryOptions(dsn: fakeDsn)..automatedTestMode = true;
await Sentry.init(
options: options,
(options) => {
options.dsn = fakeDsn,
options.tracesSampleRate = 1.0,
(options) {
options.dsn = fakeDsn;
options.tracesSampleRate = 1.0;
},
);
anException = Exception('anException');
Expand Down
2 changes: 1 addition & 1 deletion sqflite/lib/src/sentry_sqflite_transaction.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class SentrySqfliteTransaction extends Transaction implements DatabaseExecutor {
final Hub _hub;
final String? _dbName;

// ignore: public_member_api_docs
@internal
// ignore: public_member_api_docs
SentrySqfliteTransaction(
this._executor, {
@internal Hub? hub,
Expand Down
Loading