Skip to content

Feature/40437 emoji reactions to work package comments #16557

Feature/40437 emoji reactions to work package comments

Feature/40437 emoji reactions to work package comments #16557

GitHub Actions / rubocop failed Oct 24, 2024 in 0s

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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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.