- First commit to issue fork.
-
astonvictor →
committed 7afabbf5 on 8.x-1.x
Issue #3136722 - Fix cs
-
astonvictor →
committed 7afabbf5 on 8.x-1.x
FILE: .../web/vendor/drupal/pareviewsh/pareview_temp/css/galleryformatter.css
--------------------------------------------------------------------------
FOUND 39 ERRORS AFFECTING 23 LINES
--------------------------------------------------------------------------
2 | ERROR | [x] Opening brace should be the last content on the line
2 | ERROR | [x] Closing brace of class definition must be on new line
3 | ERROR | [x] Opening brace should be the last content on the line
3 | ERROR | [x] Each style definition must be on a line by itself
3 | ERROR | [x] Closing brace of class definition must be on new line
11 | ERROR | [x] Opening brace should be the last content on the line
11 | ERROR | [x] Closing brace of class definition must be on new line
13 | ERROR | [x] Opening brace should be the last content on the line
13 | ERROR | [x] Closing brace of class definition must be on new line
16 | ERROR | [x] Opening brace should be the last content on the line
16 | ERROR | [x] Closing brace of class definition must be on new line
19 | ERROR | [x] Opening brace should be the last content on the line
19 | ERROR | [x] Each style definition must be on a line by itself
19 | ERROR | [x] Closing brace of class definition must be on new line
20 | ERROR | [x] Opening brace should be the last content on the line
20 | ERROR | [x] Closing brace of class definition must be on new line
22 | ERROR | [x] Opening brace should be the last content on the line
22 | ERROR | [x] Each style definition must be on a line by itself
22 | ERROR | [x] Closing brace of class definition must be on new line
24 | ERROR | [x] Opening brace should be the last content on the line
24 | ERROR | [x] Closing brace of class definition must be on new line
27 | ERROR | [x] Expected 1 space after colon in style definition; 0
| | found
28 | ERROR | [x] Expected 1 space after colon in style definition; 0
| | found
29 | ERROR | [x] Expected 1 space after colon in style definition; 0
| | found
30 | ERROR | [x] Each style definition must be on a line by itself
33 | ERROR | [x] Expected 1 space after colon in style definition; 0
| | found
34 | ERROR | [x] Expected 1 space after colon in style definition; 0
| | found
37 | ERROR | [x] Opening brace should be the last content on the line
37 | ERROR | [x] Closing brace of class definition must be on new line
42 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
57 | ERROR | [x] Expected 1 space after colon in style definition; 0
| | found
61 | ERROR | [x] Opening brace should be the last content on the line
61 | ERROR | [x] Expected 1 space after colon in style definition; 0
| | found
61 | ERROR | [x] Closing brace of class definition must be on new line
62 | ERROR | [x] Expected 1 space before opening brace of class
| | definition; 2 found
65 | ERROR | [x] Each style definition must be on a line by itself
66 | ERROR | [x] Expected 1 newline at end of file; 3 found
68 | ERROR | [x] Additional whitespace found at end of file
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 39 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...endor/drupal/pareviewsh/pareview_temp/theme/galleryformatter.tpl.php
--------------------------------------------------------------------------
FOUND 5 ERRORS AND 5 WARNINGS AFFECTING 9 LINES
--------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
4 | ERROR | [x] Doc comment short description must end with a full
| | stop
8 | WARNING | [ ] Line exceeds 80 characters; contains 135 characters
10 | WARNING | [ ] Line exceeds 80 characters; contains 96 characters
11 | WARNING | [ ] Line exceeds 80 characters; contains 112 characters
11 | ERROR | [ ] Doc comment short description must be on a single
| | line, further text should be a separate paragraph
16 | WARNING | [ ] Line exceeds 80 characters; contains 139 characters
18 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters
31 | ERROR | [x] Closing brace must be on a line by itself
32 | ERROR | [x] Closing brace must be on a line by itself
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...endor/drupal/pareviewsh/pareview_temp/galleryformatter.libraries.yml
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
10 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...w_temp/src/Plugin/Field/FieldFormatter/GalleryFormatterFormatter.php
--------------------------------------------------------------------------
FOUND 13 ERRORS AND 1 WARNING AFFECTING 12 LINES
--------------------------------------------------------------------------
31 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ''
42 | ERROR | [x] Inline comments must start with a capital letter
42 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
77 | ERROR | [x] Inline comments must start with a capital letter
77 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
79 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 5
92 | ERROR | [x] Array indentation error, expected 6 spaces but found
| | 5
93 | ERROR | [x] Array indentation error, expected 6 spaces but found
| | 5
94 | ERROR | [x] Array indentation error, expected 6 spaces but found
| | 5
95 | ERROR | [x] Array indentation error, expected 6 spaces but found
| | 5
96 | ERROR | [x] Array indentation error, expected 6 spaces but found
| | 5
143 | ERROR | [x] Comments may not appear after statements
145 | ERROR | [x] Expected 1 blank line after function; 0 found
146 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 14 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/galleryformatter.module
--------------------------------------------------------------------------
FOUND 9 ERRORS AND 2 WARNINGS AFFECTING 9 LINES
--------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
4 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
| | Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "*
| | Implements hook_foo_BAR_ID_bar() for
| | xyz-bar.html.twig.", "* Implements
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "*
| | Implements hook_foo_BAR_ID_bar() for block
| | templates."
13 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: NULL
25 | ERROR | [x] Parameter comment must end with a full stop
26 | ERROR | [x] Expected 1 space(s) before asterisk; 2 found
27 | ERROR | [ ] Type hint "array" missing for $variables
29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
29 | ERROR | [x] No space found before comment text; expected "//
| | foreach ($variables['slides'] as $key => $item) {"
| | but found "//foreach ($variables['slides'] as $key =>
| | $item) {"
30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
31 | ERROR | [x] No space found before comment text; expected "// }"
| | but found "//}"
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
Time: 655ms; Memory: 4Mb
Needs review
1.0
Code
It involves compliance with, or the content of coding standards. Requires broad community agreement.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Issue #3136722 - Fix cs