Skip to content

Fix: List attributes to allow to search for SharedArticles #685

Fix: List attributes to allow to search for SharedArticles

Fix: List attributes to allow to search for SharedArticles #685

Triggered via pull request August 21, 2024 14:33
Status Failure
Total duration 3m 35s
Artifacts

rubocop.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
test: app/models/shared_article.rb#L9
Lint/UnusedMethodArgument: Unused method argument - `auth_object`. If it's necessary, use `_` or `_auth_object` as an argument name to indicate that it won't be used. If it's unnecessary, remove it. You can also write as `ransackable_attributes(*)` if you want the method to accept any arguments but don't care about them.
test: app/models/shared_article.rb#L10
Style/WordArray: Use `%w` or `%W` for an array of words.
test: app/models/shared_article.rb#L10
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test: app/models/shared_article.rb#L10
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test: app/models/shared_article.rb#L10
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test: app/models/shared_article.rb#L10
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test: app/models/shared_article.rb#L10
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test: app/models/shared_article.rb#L10
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test: app/models/shared_article.rb#L10
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test: app/models/shared_article.rb#L10
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/