Skip to content

[#26180] PDF export for time sheets #17542

[#26180] PDF export for time sheets

[#26180] PDF export for time sheets #17542

GitHub Actions / rubocop failed Nov 28, 2024 in 0s

reviewdog [rubocop] report

reported by reviewdog 🐶

Findings (2)

modules/reporting/app/controllers/cost_reports_controller.rb|508 col 3| Assignment Branch Condition size for determine_settings is too high. [<6, 16, 3> 17.35/17]
modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb|76 col 3| Unnecessary disabling of Metrics/AbcSize.

Filtered Findings (0)

Annotations

Check notice on line 519 in modules/reporting/app/controllers/cost_reports_controller.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/reporting/app/controllers/cost_reports_controller.rb#L508-L519 <Metrics/AbcSize>

Assignment Branch Condition size for determine_settings is too high. [<6, 16, 3> 17.35/17]
Raw output
modules/reporting/app/controllers/cost_reports_controller.rb:508:3: C: Metrics/AbcSize: Assignment Branch Condition size for determine_settings is too high. [<6, 16, 3> 17.35/17]

Check warning on line 76 in modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb#L76 <Lint/RedundantCopDisableDirective>

Unnecessary disabling of `Metrics/AbcSize`.
Raw output
modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb:76:3: W: Lint/RedundantCopDisableDirective: Unnecessary disabling of `Metrics/AbcSize`.