Skip to content

Add an enterprise banner on top of automatic subject configuration #18300

Add an enterprise banner on top of automatic subject configuration

Add an enterprise banner on top of automatic subject configuration #18300

GitHub Actions / rubocop failed Dec 20, 2024 in 0s

reviewdog [rubocop] report

Annotations

Check notice on line 53 in app/components/enterprise_edition/banner_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] app/components/enterprise_edition/banner_component.rb#L53 <Style/StringLiteralsInInterpolation>

Prefer single-quoted strings inside interpolations.
Raw output
app/components/enterprise_edition/banner_component.rb:53:79: C: Style/StringLiteralsInInterpolation: Prefer single-quoted strings inside interpolations.

Check notice on line 53 in app/components/enterprise_edition/banner_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] app/components/enterprise_edition/banner_component.rb#L53 <Style/StringLiteralsInInterpolation>

Prefer single-quoted strings inside interpolations.
Raw output
app/components/enterprise_edition/banner_component.rb:53:84: C: Style/StringLiteralsInInterpolation: Prefer single-quoted strings inside interpolations.

Check notice on line 51 in spec/components/work_packages/types/subject_configuration_component_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/components/work_packages/types/subject_configuration_component_spec.rb#L51 <Rails/FindEach>

Use `find_each` instead of `each`.
Raw output
spec/components/work_packages/types/subject_configuration_component_spec.rb:51:35: C: Rails/FindEach: Use `find_each` instead of `each`.

Check notice on line 68 in spec/components/work_packages/types/subject_configuration_component_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/components/work_packages/types/subject_configuration_component_spec.rb#L68 <RSpec/IteratedExpectation>

Prefer using the `all` matcher instead of iterating over an array.
Raw output
spec/components/work_packages/types/subject_configuration_component_spec.rb:68:7: C: RSpec/IteratedExpectation: Prefer using the `all` matcher instead of iterating over an array.

Check notice on line 68 in spec/components/work_packages/types/subject_configuration_component_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/components/work_packages/types/subject_configuration_component_spec.rb#L68 <Rails/FindEach>

Use `find_each` instead of `each`.
Raw output
spec/components/work_packages/types/subject_configuration_component_spec.rb:68:37: C: Rails/FindEach: Use `find_each` instead of `each`.

Check notice on line 75 in spec/components/work_packages/types/subject_configuration_component_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/components/work_packages/types/subject_configuration_component_spec.rb#L75 <RSpec/AnyInstance>

Avoid stubbing using `allow_any_instance_of`.
Raw output
spec/components/work_packages/types/subject_configuration_component_spec.rb:75:9: C: RSpec/AnyInstance: Avoid stubbing using `allow_any_instance_of`.

Check notice on line 87 in spec/components/work_packages/types/subject_configuration_component_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/components/work_packages/types/subject_configuration_component_spec.rb#L87 <Rails/FindEach>

Use `find_each` instead of `each`.
Raw output
spec/components/work_packages/types/subject_configuration_component_spec.rb:87:39: C: Rails/FindEach: Use `find_each` instead of `each`.