Skip to content

Update self_assessment_penalties.rb #6864

Update self_assessment_penalties.rb

Update self_assessment_penalties.rb #6864

Triggered via pull request February 10, 2025 13:48
Status Failure
Total duration 2m 17s
Artifacts 1

ci.yml

on: pull_request
CodeQL SAST scan  /  Analyze
2m 4s
CodeQL SAST scan / Analyze
Dependency Review scan  /  dependency-review-pr
4s
Dependency Review scan / dependency-review-pr
Dependency Review scan  /  dependency-review-push
0s
Dependency Review scan / dependency-review-push
Security Analysis  /  Run Brakeman
23s
Security Analysis / Run Brakeman
Lint SCSS  /  Run Stylelint
11s
Lint SCSS / Run Stylelint
Lint JavaScript  /  Run Standardx
14s
Lint JavaScript / Run Standardx
Lint Ruby  /  Run RuboCop
19s
Lint Ruby / Run RuboCop
Lint Ruby  /  Run ErbLint
13s
Lint Ruby / Run ErbLint
Test JavaScript  /  Run Jasmine
22s
Test JavaScript / Run Jasmine
Test Ruby  /  Run Minitest
1m 31s
Test Ruby / Run Minitest
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Lint Ruby / Run RuboCop: lib/smart_answer/calculators/self_assessment_penalties.rb#L61
Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array, unless each item is on its own line. (https://rubystyle.guide#no-trailing-array-commas)
Lint Ruby / Run RuboCop: lib/smart_answer/calculators/self_assessment_penalties.rb#L61
Layout/ExtraSpacing: Unnecessary spacing detected.
Lint Ruby / Run RuboCop: lib/smart_answer/calculators/self_assessment_penalties.rb#L61
Layout/SpaceInsideArrayLiteralBrackets: Do not use space inside array brackets.
Lint Ruby / Run RuboCop: lib/smart_answer/calculators/self_assessment_penalties.rb#L61
Layout/MultilineArrayBraceLayout: The closing array brace must be on the line after the last array element when the opening brace is on a separate line from the first array element.
Lint Ruby / Run RuboCop
Process completed with exit code 1.
Test Ruby / Run Minitest
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
brakeman-json
1.42 KB