Feature/40437 emoji reactions to work package comments #16557
reviewdog [rubocop] report
reported by reviewdog 🐶
Findings (2)
app/controllers/work_packages/activities_tab_controller.rb|340 col 5| Use each_key
instead of each
and remove the unused emoji_reactions
block argument.
app/controllers/work_packages/activities_tab_controller.rb|342 col 28| Unused block argument - emoji_reactions
. If it's necessary, use _
or _emoji_reactions
as an argument name to indicate that it won't be used.
Filtered Findings (0)
Annotations
Check notice on line 349 in app/controllers/work_packages/activities_tab_controller.rb
github-actions / rubocop
[rubocop] app/controllers/work_packages/activities_tab_controller.rb#L340-L349 <Style/HashEachMethods>
Use `each_key` instead of `each` and remove the unused `emoji_reactions` block argument.
Raw output
app/controllers/work_packages/activities_tab_controller.rb:340:5: C: Style/HashEachMethods: Use `each_key` instead of `each` and remove the unused `emoji_reactions` block argument.
Check warning on line 342 in app/controllers/work_packages/activities_tab_controller.rb
github-actions / rubocop
[rubocop] app/controllers/work_packages/activities_tab_controller.rb#L342 <Lint/UnusedBlockArgument>
Unused block argument - `emoji_reactions`. If it's necessary, use `_` or `_emoji_reactions` as an argument name to indicate that it won't be used.
Raw output
app/controllers/work_packages/activities_tab_controller.rb:342:28: W: Lint/UnusedBlockArgument: Unused block argument - `emoji_reactions`. If it's necessary, use `_` or `_emoji_reactions` as an argument name to indicate that it won't be used.