From da23a1bf49650acce2c9d67002e8f7efd2fd45ec Mon Sep 17 00:00:00 2001 From: GIancarlo Buenaflor Date: Mon, 4 Mar 2024 10:06:19 +0100 Subject: [PATCH 1/2] Fix analyze issues --- sqflite/lib/src/sentry_sqflite_transaction.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqflite/lib/src/sentry_sqflite_transaction.dart b/sqflite/lib/src/sentry_sqflite_transaction.dart index 78c41b487d..c51bfe1c53 100644 --- a/sqflite/lib/src/sentry_sqflite_transaction.dart +++ b/sqflite/lib/src/sentry_sqflite_transaction.dart @@ -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, From da86a98ae4b8d0294f3fa938b0d1fe486a8c258b Mon Sep 17 00:00:00 2001 From: GIancarlo Buenaflor Date: Mon, 4 Mar 2024 10:07:19 +0100 Subject: [PATCH 2/2] Update --- dart/lib/src/client_reports/client_report_recorder.dart | 1 + dart/test/sentry_test.dart | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dart/lib/src/client_reports/client_report_recorder.dart b/dart/lib/src/client_reports/client_report_recorder.dart index 76ae9f03eb..d064941f84 100644 --- a/dart/lib/src/client_reports/client_report_recorder.dart +++ b/dart/lib/src/client_reports/client_report_recorder.dart @@ -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 && diff --git a/dart/test/sentry_test.dart b/dart/test/sentry_test.dart index b041f19527..a361c0bc4f 100644 --- a/dart/test/sentry_test.dart +++ b/dart/test/sentry_test.dart @@ -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');