FILE: /var/www/html/drupal-contrib/modules/contrib/views_flexbox/src/Plugin/views/style/Flexbox.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
68 | ERROR | [x] No space found before comment text; expected "// show this textfield only if the radio 'other' is selected above" but found "//show this textfield
| | only if the radio 'other' is selected above"
68 | ERROR | [x] Inline comments must start with a capital letter
68 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
81 | ERROR | [x] Array indentation error, expected 8 spaces but found 9
82 | ERROR | [x] No space found before comment text; expected "// show this textfield only if the radio 'other' is selected above" but found "//show this textfield
| | only if the radio 'other' is selected above"
82 | ERROR | [x] Inline comments must start with a capital letter
82 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
83 | ERROR | [x] Array indentation error, expected 11 spaces but found 10
86 | ERROR | [x] Array closing indentation error, expected 9 spaces but found 8
198 | ERROR | [x] Expected newline after closing brace
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/drupal-contrib/modules/contrib/views_flexbox/css/views_flexbox.cards.css
--------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------
4 | ERROR | [x] Blank lines are not allowed in class definitions
7 | ERROR | [x] Blank lines are not allowed in class definitions
--------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------
FILE: /var/www/html/drupal-contrib/modules/contrib/views_flexbox/views_flexbox.module
-------------------------------------------------------------------------------------
FOUND 22 ERRORS AFFECTING 22 LINES
-------------------------------------------------------------------------------------
14 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
15 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
16 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
17 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 4
18 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 8
19 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 8
20 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 8
21 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 6
22 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 4
23 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 4
24 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
25 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
26 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 4
27 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 4
28 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
29 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
30 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 4
31 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 4
32 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
33 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
47 | ERROR | [ ] Type hint "array" missing for $variables
57 | ERROR | [x] Expected newline after closing brace
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 21 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------
Comment | File | Size | Author |
---|---|---|---|
#2 | 3125647-2.patch | 4.3 KB | prabha1997 |
Comments
Comment #2
prabha1997 CreditAttribution: prabha1997 at Valuebound for Valuebound commentedKindly review patch
Comment #4
richgerdesThanks for the patch! I've committed it with one minor change, to remove the block of dead code in
views_flexbox.module
.Once I resolve the other two issues, I'll issue the first release for the project, 1.0-rc1.
Comment #5
richgerdes