Skip to content

maint: autocorrect style #70

maint: autocorrect style

maint: autocorrect style #70

Triggered via pull request May 31, 2024 08:31
Status Failure
Total duration 33s
Artifacts 1

ci.yml

on: pull_request
Rubocop  /  Rubocop
22s
Rubocop / Rubocop
Matrix: Ruby
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Rubocop / Rubocop: app/controllers/concerns/foreman_expire_hosts/host_controller_extensions.rb#L9
Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
Rubocop / Rubocop: app/controllers/concerns/foreman_expire_hosts/host_controller_extensions.rb#L14
Style/EmptyMethod: Put the `end` of empty method definitions on the next line.
Rubocop / Rubocop: app/controllers/concerns/foreman_expire_hosts/host_controller_extensions.rb#L41
Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
Rubocop / Rubocop: app/controllers/concerns/foreman_expire_hosts/host_controller_extensions.rb#L42
Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
Rubocop / Rubocop: app/helpers/concerns/foreman_expire_hosts/audits_helper_extensions.rb#L10
Rails/OutputSafety: Tagging a string as html safe may be a security risk.
Rubocop / Rubocop: app/helpers/concerns/foreman_expire_hosts/audits_helper_extensions.rb#L16
Rails/OutputSafety: Tagging a string as html safe may be a security risk.
Rubocop / Rubocop: app/helpers/expire_hosts_mailer_helper.rb#L7
Rails/Date: Do not use `Date.today` without zone. Use `Time.zone.today` instead.
Rubocop / Rubocop: app/helpers/expire_hosts_mailer_helper.rb#L8
Rails/Date: Do not use `Date.today` without zone. Use `Time.zone.today` instead.
Rubocop / Rubocop: app/helpers/foreman_expire_hosts/hosts_helper.rb#L10
Style/TrailingCommaInHashLiteral: Put a comma after the last item of a multiline hash.
Rubocop / Rubocop: app/helpers/foreman_expire_hosts/hosts_helper.rb#L23
Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.

Artifacts

Produced during runtime
Name Size
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock Expired
1.28 KB