Skip to content

refactor: Solve dcm lint issues #1667

refactor: Solve dcm lint issues

refactor: Solve dcm lint issues #1667

Triggered via pull request November 15, 2024 14:40
Status Success
Total duration 8m 25s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings and 19 notices
Test Min SDK
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Min SDK
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Min SDK
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Min SDK
Unexpected input(s) 'folders', valid inputs are ['github_token', 'version']
Test Min SDK
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test Min SDK
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
Unexpected input(s) 'folders', valid inputs are ['github_token', 'version']
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead.: packages/mix/test/src/specs/text/text_spec_test.dart#L333
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use_from_same_package to learn more about this problem.
Don't invoke 'print' in production code.: packages/mix_generator/lib/src/helpers/helpers.dart#L109
Try using a logging framework. See https://dart.dev/lints/avoid_print to learn more about this problem.
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.: packages/mix_generator/lib/src/mixable_class_utility_generator.dart#L56
Try changing the name to 'annotation'. See https://dart.dev/lints/avoid_renaming_method_parameters to learn more about this problem.
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.: packages/mix_generator/lib/src/mixable_dto_generator.dart#L61
Try changing the name to 'annotation'. See https://dart.dev/lints/avoid_renaming_method_parameters to learn more about this problem.
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.: packages/mix_generator/lib/src/mixable_enum_utility_generator.dart#L48
Try changing the name to 'annotation'. See https://dart.dev/lints/avoid_renaming_method_parameters to learn more about this problem.
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.: packages/mix_generator/lib/src/mixable_spec_generator.dart#L36
Try changing the name to 'annotation'. See https://dart.dev/lints/avoid_renaming_method_parameters to learn more about this problem.
Don't invoke 'print' in production code.: packages/mix_lint/lib/src/assists/extract_attributes.dart#L19
Try using a logging framework. See https://dart.dev/lints/avoid_print to learn more about this problem.
Don't invoke 'print' in production code.: packages/mix_lint/lib/src/assists/extract_attributes.dart#L58
Try using a logging framework. See https://dart.dev/lints/avoid_print to learn more about this problem.
Empty catch block.: packages/mix_lint/lib/src/assists/extract_attributes.dart#L136
Try adding statements to the block, adding a comment to the block, or removing the 'catch' clause. See https://dart.dev/lints/empty_catches to learn more about this problem.
Don't use 'BuildContext's across async gaps.: examples/todo_list/lib/pages/todo_list_page.dart#L70
Try rewriting the code to not use the 'BuildContext', or guard the use with a 'mounted' check. See https://dart.dev/diagnostics/use_build_context_synchronously to learn more about this problem.
'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead.: packages/mix/test/src/specs/text/text_spec_test.dart#L333
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use_from_same_package to learn more about this problem.
'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.: packages/mix_generator/lib/src/builders/utility_class_builder.dart#L60
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.: packages/mix_generator/lib/src/helpers/builder_utils.dart#L254
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.: packages/mix_generator/lib/src/helpers/field_info.dart#L118
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.: packages/mix_generator/lib/src/helpers/field_info.dart#L179
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.: packages/mix_generator/lib/src/helpers/helpers.dart#L17
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
Don't invoke 'print' in production code.: packages/mix_generator/lib/src/helpers/helpers.dart#L109
Try using a logging framework. See https://dart.dev/diagnostics/avoid_print to learn more about this problem.
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.: packages/mix_generator/lib/src/mixable_class_utility_generator.dart#L56
Try changing the name to 'annotation'. See https://dart.dev/diagnostics/avoid_renaming_method_parameters to learn more about this problem.
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.: packages/mix_generator/lib/src/mixable_dto_generator.dart#L61
Try changing the name to 'annotation'. See https://dart.dev/diagnostics/avoid_renaming_method_parameters to learn more about this problem.