Report from pareview.sh

/src/Plugin/Field/FieldFormatter/CustomTwigFormatter.php
--------------------------------------------------------------------------
FOUND 18 ERRORS AND 3 WARNINGS AFFECTING 20 LINES
--------------------------------------------------------------------------
9 | ERROR | [x] Non-namespaced classes/interfaces/traits should not
| | be referenced with use statements
96 | ERROR | [x] Array indentation error, expected 6 spaces but found
| | 8
97 | ERROR | [x] Array indentation error, expected 6 spaces but found
| | 8
98 | ERROR | [x] Array closing indentation error, expected 4 spaces
| | but found 6
121 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, question marks, colons, or closing
| | parentheses
141 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: 'string'
144 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, question marks, colons, or closing
| | parentheses
146 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 1 space but found 2 spaces
156 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 0
156 | ERROR | [x] Closing brace indented incorrectly; expected 6
| | spaces, found 0
159 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 7
160 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 7
162 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 1 space but found 2 spaces
190 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, question marks, colons, or closing
| | parentheses
205 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, question marks, colons, or closing
| | parentheses
221 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, question marks, colons, or closing
| | parentheses
230 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, question marks, colons, or closing
| | parentheses
235 | ERROR | [x] Expected newline after closing brace
259 | ERROR | [x] Expected 1 space after "=>"; 0 found
264 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
266 | WARNING | [x] '@todo: Attach libraries for all fields in a generic
| | way' should match the format '@todo Fix problem X
| | here.'

CommentFileSizeAuthor
#3 fix-coding-standards-pareview.patch5.5 KBmatsbla

Comments

matsbla created an issue. See original summary.

matsbla’s picture

Issue summary: View changes
matsbla’s picture

StatusFileSize
new5.5 KB

  • 83cabdd committed on 1.0.x
    Issue #3315537 by matsbla: Fix coding standards (pareview.sh)
    

  • 332e1c0 committed on 1.0.x
    Issue #3315537 by matsbla: Fix coding standards (pareview.sh)
    
matsbla’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.