Skip to content

Adapt article & group sorted order PDF (solves #49) #238

Adapt article & group sorted order PDF (solves #49)

Adapt article & group sorted order PDF (solves #49) #238

Triggered via push July 29, 2024 16:34
Status Failure
Total duration 41s
Artifacts

rubocop.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
test: app/documents/order_by_articles.rb#L31
Style/RedundantConditional: This conditional expression can just be replaced by `order_article.group_order_articles.size > 1`.
test: app/documents/order_by_articles.rb#L31
Style/IfWithBooleanLiteralBranches: Remove redundant ternary operator with boolean literal branches.
test: app/lib/order_pdf.rb#L69
Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
test: app/lib/order_pdf.rb#L77
Layout/ArgumentAlignment: Align the arguments of a method call if they span more than one line.
test: app/lib/order_pdf.rb#L81
Naming/MethodParameterName: Method parameter must be at least 3 characters long.
test: app/lib/order_pdf.rb#L85
Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
test: app/lib/order_pdf.rb#L90
Naming/MethodParameterName: Method parameter must be at least 3 characters long.
test: app/lib/order_pdf.rb#L93
Layout/ArgumentAlignment: Align the arguments of a method call if they span more than one line.
test
Process completed with exit code 1.
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 uses Node.js version which is deprecated 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/