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.'
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fix-coding-standards-pareview.patch | 5.5 KB | matsbla |
Comments
Comment #2
matsbla commentedComment #3
matsbla commentedComment #6
matsbla commented