Problem/Motivation
i have founded some issue using this command:- phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig web/modules/contrib/folder_tree/
Result:-
FILE: /var/www/html/test10/web/modules/contrib/folder_tree/js/folder-tree.js
---------------------------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 12 LINES
---------------------------------------------------------------------------------------------
1 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
3 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
5 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
14 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
18 | ERROR | [x] Inline control structures are not allowed
20 | ERROR | [x] Inline control structures are not allowed
21 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
26 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
38 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
44 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
52 | ERROR | [x] Expected 1 newline at end of file; 2 found
53 | ERROR | [x] Additional whitespace found at end of file
---------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/folder_tree/src/treeview.php
-----------------------------------------------------------------------------------------------
FOUND 110 ERRORS AND 1 WARNING AFFECTING 34 LINES
-----------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
5 | ERROR | [x] Missing class doc comment
5 | ERROR | [ ] Class name must begin with a capital letter
7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
7 | ERROR | [ ] Missing member variable doc comment
8 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
8 | ERROR | [ ] Missing member variable doc comment
10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
10 | ERROR | [x] Visibility must be declared on method "__construct"
10 | ERROR | [x] Expected 0 spaces after opening parenthesis; 1 found
10 | ERROR | [x] There should be no white space after an opening "("
10 | ERROR | [x] There should be no white space before a closing ")"
10 | ERROR | [x] Expected 0 spaces before closing parenthesis; 1 found
12 | WARNING | [ ] Unused variable $files.
12 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
12 | ERROR | [x] Short array syntax must be used to define arrays
14 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
14 | ERROR | [x] Expected 1 space after IF keyword; 0 found
14 | ERROR | [x] There should be no white space after an opening "("
14 | ERROR | [x] There should be no white space after an opening "("
15 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
15 | ERROR | [x] Inline control structures are not allowed
15 | ERROR | [x] Expected 1 space after IF keyword; 0 found
15 | ERROR | [x] There should be no white space after an opening "("
15 | ERROR | [x] Space found after square bracket; expected "[strlen" but found "[ strlen"
15 | ERROR | [x] There should be no white space after an opening "("
15 | ERROR | [x] There should be no white space before a closing ")"
15 | ERROR | [x] Space found before square bracket; expected "1]" but found "1 ]"
15 | ERROR | [x] Expected 1 space after "=="; 2 found
15 | ERROR | [x] There should be no white space before a closing ")"
17 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
17 | ERROR | [x] Inline control structures are not allowed
17 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
20 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
20 | ERROR | [x] There should be no white space after an opening "("
20 | ERROR | [x] There should be no white space before a closing ")"
21 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
21 | ERROR | [x] Inline control structures are not allowed
21 | ERROR | [x] Expected 1 space after WHILE keyword; 0 found
21 | ERROR | [x] There should be no white space after an opening "("
21 | ERROR | [x] There should be no white space after an opening "("
21 | ERROR | [x] There should be no white space before a closing ")"
21 | ERROR | [x] There should be no white space before a closing ")"
21 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
21 | ERROR | [x] There should be no white space before a closing ")"
21 | ERROR | [x] Expected 0 spaces before semicolon; newline found
23 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
23 | ERROR | [x] There should be no white space after an opening "("
23 | ERROR | [x] There should be no white space before a closing ")"
24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
27 | ERROR | [x] Missing function doc comment
27 | ERROR | [x] Visibility must be declared on method "create_tree"
27 | ERROR | [ ] Method name "treeview::create_tree" is not in lowerCamel format
27 | ERROR | [x] Expected 0 spaces between parenthesis of function declaration; 1 found
27 | ERROR | [x] There should be no white space after an opening "("
27 | ERROR | [x] There should be no white space before a closing ")"
29 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
29 | ERROR | [x] Expected 1 space after IF keyword; 0 found
29 | ERROR | [x] There should be no white space after an opening "("
29 | ERROR | [x] There should be no white space after an opening "("
29 | ERROR | [x] There should be no white space before a closing ")"
29 | ERROR | [x] There should be no white space before a closing ")"
30 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
30 | ERROR | [x] There should be no white space after an opening "("
30 | ERROR | [x] There should be no white space before a closing ")"
31 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
32 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
32 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found
32 | ERROR | [x] There should be no white space after an opening "("
32 | ERROR | [x] There should be no white space before a closing ")"
33 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
33 | ERROR | [x] Expected 1 space after IF keyword; 0 found
33 | ERROR | [x] There should be no white space after an opening "("
33 | ERROR | [x] There should be no white space after an opening "("
33 | ERROR | [x] There should be no white space before a closing ")"
33 | ERROR | [x] There should be no white space after an opening "("
33 | ERROR | [x] There should be no white space before a closing ")"
34 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
34 | ERROR | [x] There should be no white space after an opening "("
34 | ERROR | [x] There should be no white space before a closing ")"
34 | ERROR | [x] There should be no white space after an opening "("
34 | ERROR | [x] There should be no white space before a closing ")"
35 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
36 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
38 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
38 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found
38 | ERROR | [x] There should be no white space after an opening "("
38 | ERROR | [x] There should be no white space before a closing ")"
39 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
39 | ERROR | [x] Expected 1 space after IF keyword; 0 found
39 | ERROR | [x] There should be no white space after an opening "("
39 | ERROR | [x] There should be no white space after an opening "("
39 | ERROR | [x] There should be no white space before a closing ")"
39 | ERROR | [x] There should be no white space after an opening "("
39 | ERROR | [x] There should be no white space before a closing ")"
40 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
41 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
41 | ERROR | [x] There should be no white space after an opening "("
41 | ERROR | [x] There should be no white space before a closing ")"
41 | ERROR | [x] There should be no white space after an opening "("
41 | ERROR | [x] There should be no white space before a closing ")"
42 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
43 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
44 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
45 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
47 | ERROR | [x] Expected 1 blank line after function; 0 found
48 | ERROR | [x] The closing brace for the class must have an empty line before it
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 106 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/folder_tree/src/Controller/FolderTreeController.php
----------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AND 2 WARNINGS AFFECTING 10 LINES
----------------------------------------------------------------------------------------------------------------------------------
3 | ERROR | [x] There must be one blank line after the namespace declaration
5 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Controller\ControllerBase.
15 | ERROR | [x] Additional blank lines found at end of doc comment
16 | ERROR | [ ] Public method name "FolderTreeController::folder_tree" is not in lowerCamel format
16 | ERROR | [x] Expected 1 blank line before function; 0 found
27 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
35 | ERROR | [ ] @return doc comment specified, but function has no return statement
40 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
45 | ERROR | [x] Expected 1 space after IF keyword; 0 found
47 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements
55 | ERROR | [x] Expected newline after closing brace
----------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/folder_tree/templates/folder-tree-template.html.twig
---------------------------------------------------------------------------------------------------
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: /var/www/html/test10/web/modules/contrib/folder_tree/folder_tree.libraries.yml
------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------
9 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/folder_tree/css/folder-tree.css
------------------------------------------------------------------------------------------------
FOUND 389 ERRORS AFFECTING 229 LINES
------------------------------------------------------------------------------------------------
1 | ERROR | [x] Selectors must be on a single line
2 | ERROR | [x] Blank lines are not allowed between class names
2 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
3 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
3 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
5 | ERROR | [x] Selectors must be on a single line
6 | ERROR | [x] Blank lines are not allowed between class names
6 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
7 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
8 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
8 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
9 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
10 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
12 | ERROR | [x] Selectors must be on a single line
13 | ERROR | [x] Blank lines are not allowed between class names
13 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
14 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
15 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
16 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
17 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
17 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
19 | ERROR | [x] Selectors must be on a single line
20 | ERROR | [x] Blank lines are not allowed between class names
20 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
21 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
22 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
23 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
24 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
26 | ERROR | [x] Selectors must be on a single line
27 | ERROR | [x] Blank lines are not allowed between class names
27 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
28 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
29 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
30 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
31 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
32 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
32 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
34 | ERROR | [x] Selectors must be on a single line
35 | ERROR | [x] Blank lines are not allowed between class names
35 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
36 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
36 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
36 | ERROR | [x] CSS colours must be defined in lowercase; expected #bdf but found #BDF
39 | ERROR | [x] Selectors must be on a single line
40 | ERROR | [x] Blank lines are not allowed between class names
40 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
41 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
43 | ERROR | [x] Selectors must be on a single line
44 | ERROR | [x] Blank lines are not allowed between class names
44 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
45 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
47 | ERROR | [x] Selectors must be on a single line
48 | ERROR | [x] Blank lines are not allowed between class names
48 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
49 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
49 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
51 | ERROR | [x] Selectors must be on a single line
52 | ERROR | [x] Blank lines are not allowed between class names
52 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
53 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
53 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
56 | ERROR | [x] Selectors must be on a single line
57 | ERROR | [x] Blank lines are not allowed between class names
57 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
58 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
58 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
60 | ERROR | [x] Selectors must be on a single line
61 | ERROR | [x] Blank lines are not allowed between class names
61 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
62 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
62 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
64 | ERROR | [x] Selectors must be on a single line
65 | ERROR | [x] Blank lines are not allowed between class names
65 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
66 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
66 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
68 | ERROR | [x] Selectors must be on a single line
69 | ERROR | [x] Blank lines are not allowed between class names
69 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
70 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
70 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
72 | ERROR | [x] Selectors must be on a single line
73 | ERROR | [x] Blank lines are not allowed between class names
73 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
74 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
74 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
76 | ERROR | [x] Selectors must be on a single line
77 | ERROR | [x] Blank lines are not allowed between class names
77 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
78 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
78 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
80 | ERROR | [x] Selectors must be on a single line
81 | ERROR | [x] Blank lines are not allowed between class names
81 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
82 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
82 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
84 | ERROR | [x] Selectors must be on a single line
85 | ERROR | [x] Blank lines are not allowed between class names
85 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
86 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
86 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
88 | ERROR | [x] Selectors must be on a single line
89 | ERROR | [x] Blank lines are not allowed between class names
89 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
90 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
90 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
92 | ERROR | [x] Selectors must be on a single line
93 | ERROR | [x] Blank lines are not allowed between class names
93 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
94 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
94 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
96 | ERROR | [x] Selectors must be on a single line
97 | ERROR | [x] Blank lines are not allowed between class names
97 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
98 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
98 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
100 | ERROR | [x] Selectors must be on a single line
101 | ERROR | [x] Blank lines are not allowed between class names
101 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
102 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
102 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
104 | ERROR | [x] Selectors must be on a single line
105 | ERROR | [x] Blank lines are not allowed between class names
105 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
106 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
106 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
108 | ERROR | [x] Selectors must be on a single line
109 | ERROR | [x] Blank lines are not allowed between class names
109 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
110 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
110 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
112 | ERROR | [x] Selectors must be on a single line
113 | ERROR | [x] Blank lines are not allowed between class names
113 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
114 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
114 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
116 | ERROR | [x] Selectors must be on a single line
117 | ERROR | [x] Blank lines are not allowed between class names
117 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
118 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
118 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
120 | ERROR | [x] Selectors must be on a single line
121 | ERROR | [x] Blank lines are not allowed between class names
121 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
122 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
122 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
124 | ERROR | [x] Selectors must be on a single line
125 | ERROR | [x] Blank lines are not allowed between class names
125 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
126 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
126 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
128 | ERROR | [x] Selectors must be on a single line
129 | ERROR | [x] Blank lines are not allowed between class names
129 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
130 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
130 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
132 | ERROR | [x] Selectors must be on a single line
133 | ERROR | [x] Blank lines are not allowed between class names
133 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
134 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
134 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
136 | ERROR | [x] Selectors must be on a single line
137 | ERROR | [x] Blank lines are not allowed between class names
137 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
138 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
138 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
140 | ERROR | [x] Selectors must be on a single line
141 | ERROR | [x] Blank lines are not allowed between class names
141 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
142 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
142 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
144 | ERROR | [x] Selectors must be on a single line
145 | ERROR | [x] Blank lines are not allowed between class names
145 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
146 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
146 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
148 | ERROR | [x] Selectors must be on a single line
149 | ERROR | [x] Blank lines are not allowed between class names
149 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
150 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
150 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
152 | ERROR | [x] Selectors must be on a single line
153 | ERROR | [x] Blank lines are not allowed between class names
153 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
154 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
154 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
156 | ERROR | [x] Selectors must be on a single line
157 | ERROR | [x] Blank lines are not allowed between class names
157 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
158 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
158 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
160 | ERROR | [x] Selectors must be on a single line
161 | ERROR | [x] Blank lines are not allowed between class names
161 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
162 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
162 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
164 | ERROR | [x] Selectors must be on a single line
165 | ERROR | [x] Blank lines are not allowed between class names
165 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
166 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
166 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
168 | ERROR | [x] Selectors must be on a single line
169 | ERROR | [x] Blank lines are not allowed between class names
169 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
170 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
170 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
172 | ERROR | [x] Selectors must be on a single line
173 | ERROR | [x] Blank lines are not allowed between class names
173 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
174 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
174 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
176 | ERROR | [x] Selectors must be on a single line
177 | ERROR | [x] Blank lines are not allowed between class names
177 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
178 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
178 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
180 | ERROR | [x] Selectors must be on a single line
181 | ERROR | [x] Blank lines are not allowed between class names
181 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
182 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
182 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
184 | ERROR | [x] Selectors must be on a single line
185 | ERROR | [x] Blank lines are not allowed between class names
185 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
186 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
186 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
188 | ERROR | [x] Selectors must be on a single line
189 | ERROR | [x] Blank lines are not allowed between class names
189 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
190 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
190 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
192 | ERROR | [x] Selectors must be on a single line
193 | ERROR | [x] Blank lines are not allowed between class names
193 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
194 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
194 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
196 | ERROR | [x] Selectors must be on a single line
197 | ERROR | [x] Blank lines are not allowed between class names
197 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
198 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
198 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
200 | ERROR | [x] Selectors must be on a single line
201 | ERROR | [x] Blank lines are not allowed between class names
201 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
202 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
202 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
204 | ERROR | [x] Selectors must be on a single line
205 | ERROR | [x] Blank lines are not allowed between class names
205 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
206 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
206 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
208 | ERROR | [x] Selectors must be on a single line
209 | ERROR | [x] Blank lines are not allowed between class names
209 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
210 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
210 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
212 | ERROR | [x] Selectors must be on a single line
213 | ERROR | [x] Blank lines are not allowed between class names
213 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
214 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
214 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
216 | ERROR | [x] Selectors must be on a single line
217 | ERROR | [x] Blank lines are not allowed between class names
217 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
218 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
218 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
220 | ERROR | [x] Selectors must be on a single line
221 | ERROR | [x] Blank lines are not allowed between class names
221 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
222 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
222 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
224 | ERROR | [x] Selectors must be on a single line
225 | ERROR | [x] Blank lines are not allowed between class names
225 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
226 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
226 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
228 | ERROR | [x] Selectors must be on a single line
229 | ERROR | [x] Blank lines are not allowed between class names
229 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
230 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
230 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
232 | ERROR | [x] Selectors must be on a single line
233 | ERROR | [x] Blank lines are not allowed between class names
233 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
234 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
234 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
236 | ERROR | [x] Selectors must be on a single line
237 | ERROR | [x] Blank lines are not allowed between class names
237 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
238 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
238 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
240 | ERROR | [x] Selectors must be on a single line
241 | ERROR | [x] Blank lines are not allowed between class names
241 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
242 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
242 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
244 | ERROR | [x] Selectors must be on a single line
245 | ERROR | [x] Blank lines are not allowed between class names
245 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
246 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
246 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
248 | ERROR | [x] Selectors must be on a single line
249 | ERROR | [x] Blank lines are not allowed between class names
249 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
250 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
250 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
252 | ERROR | [x] Selectors must be on a single line
253 | ERROR | [x] Blank lines are not allowed between class names
253 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
254 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
254 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
256 | ERROR | [x] Selectors must be on a single line
257 | ERROR | [x] Blank lines are not allowed between class names
257 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
258 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
258 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
260 | ERROR | [x] Selectors must be on a single line
261 | ERROR | [x] Blank lines are not allowed between class names
261 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
262 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
262 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
264 | ERROR | [x] Selectors must be on a single line
265 | ERROR | [x] Blank lines are not allowed between class names
265 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
266 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
266 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
268 | ERROR | [x] Selectors must be on a single line
269 | ERROR | [x] Blank lines are not allowed between class names
269 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
270 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
270 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
272 | ERROR | [x] Selectors must be on a single line
273 | ERROR | [x] Blank lines are not allowed between class names
273 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
274 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
274 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
276 | ERROR | [x] Selectors must be on a single line
277 | ERROR | [x] Blank lines are not allowed between class names
277 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
278 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
278 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
280 | ERROR | [x] Selectors must be on a single line
281 | ERROR | [x] Blank lines are not allowed between class names
281 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
282 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
282 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
284 | ERROR | [x] Selectors must be on a single line
285 | ERROR | [x] Blank lines are not allowed between class names
285 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
286 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
286 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
288 | ERROR | [x] Selectors must be on a single line
289 | ERROR | [x] Blank lines are not allowed between class names
289 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
290 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
290 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
290 | ERROR | [x] CSS colours must be defined in lowercase; expected #d9dadb but found #D9DADB
291 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
291 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
293 | ERROR | [x] Selectors must be on a single line
294 | ERROR | [x] Blank lines are not allowed between class names
294 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
295 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
295 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
296 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
296 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
297 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
297 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
299 | ERROR | [x] Selectors must be on a single line
300 | ERROR | [x] Blank lines are not allowed between class names
300 | ERROR | [x] Expected 1 space before opening brace of class definition; newline found
301 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
301 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 389 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/folder_tree/folder_tree.links.menu.yml
-------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------
5 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/folder_tree/folder_tree.permissions.yml
--------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------
4 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/folder_tree/folder_tree.module
-------------------------------------------------------------------------------------------
FOUND 29 ERRORS AFFECTING 15 LINES
-------------------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
13 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
13 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
14 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
14 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
15 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
15 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 2
16 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
16 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 2
17 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
17 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 2
18 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
18 | ERROR | [x] Case breaking statement indented incorrectly; expected 4 spaces, found 2
19 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
26 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
26 | ERROR | [x] Short array syntax must be used to define arrays
27 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
27 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
27 | ERROR | [x] Short array syntax must be used to define arrays
28 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
28 | ERROR | [x] Array indentation error, expected 4 spaces but found 3
28 | ERROR | [x] Short array syntax must be used to define arrays
29 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
29 | ERROR | [x] Array indentation error, expected 4 spaces but found 3
30 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
31 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
32 | ERROR | [x] Expected 1 newline at end of file; 2 found
-------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 29 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes