Drupal PHPCS issues in module

Created on 12 March 2024, 9 months ago
Updated 2 April 2024, 9 months ago

hi @bcruzcar and all maintainers
Referred source

when I run the command
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
for your module

I found this

FILE: /var/www/html/web/modules/contrib/security_analysis/src/Controller/SecurityController.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 845 ERRORS AND 25 WARNINGS AFFECTING 288 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
7 | WARNING | [x] Unused use statement
8 | WARNING | [x] Unused use statement
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Config\ConfigFactoryInterface.
11 | WARNING | [x] Unused use statement
12 | WARNING | [x] Unused use statement
15 | WARNING | [x] Unused use statement
17 | WARNING | [x] Unused use statement
18 | ERROR | [x] Each PHP statement must be on a line by itself
19 | WARNING | [x] Unused use statement
20 | WARNING | [x] Unused use statement
21 | WARNING | [x] Unused use statement
22 | WARNING | [x] Unused use statement
23 | WARNING | [x] Unused use statement
24 | WARNING | [x] Unused use statement
25 | WARNING | [x] Unused use statement
26 | WARNING | [x] Unused use statement
27 | WARNING | [x] Unused use statement
39 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
40 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
41 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
42 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
43 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
46 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
47 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
48 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
49 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
50 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
53 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6
53 | ERROR | [ ] Missing short description in doc comment
54 | ERROR | [x] Expected 7 space(s) before asterisk; 3 found
55 | ERROR | [x] Expected 7 space(s) before asterisk; 3 found
55 | ERROR | [x] Expected "\Drupal\password_policy\PasswordInterface" but found "\Drupal\password_policy\PasswordInterface;" for @var tag in member variable comment
56 | ERROR | [x] Expected 7 space(s) before asterisk; 3 found
59 | ERROR | [x] Whitespace found at end of line
60 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
61 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
62 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
63 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
64 | ERROR | [ ] Class property $current_user should use lowerCamel naming without underscores
66 | ERROR | [ ] Missing member variable doc comment
69 | ERROR | [x] Expected 1 blank line before function; 2 found
69 | ERROR | [x] Incorrect spacing between argument "$security_review" and equals sign; expected 1 but found 0
69 | ERROR | [x] Incorrect spacing between default value and equals sign for argument "$security_review"; expected 1 but found 0
69 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
69 | ERROR | [x] Incorrect spacing between argument "$checklist" and equals sign; expected 1 but found 0
69 | ERROR | [x] Incorrect spacing between default value and equals sign for argument "$checklist"; expected 1 but found 0
69 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
72 | ERROR | [x] Expected 1 blank line after function; 2 found
73 | ERROR | [x] Whitespace found at end of line
75 | ERROR | [x] Missing function doc comment
76 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
81 | ERROR | [x] Whitespace found at end of line
82 | ERROR | [x] Expected 1 space before "==="; 0 found
82 | ERROR | [x] Expected 1 space after "==="; 0 found
82 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
82 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
87 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
88 | ERROR | [ ] Public method name "SecurityController::check_module" is not in lowerCamel format
88 | ERROR | [x] You must use "/**" style comments for a function comment
91 | ERROR | [x] Expected 1 space before "="; 0 found
91 | ERROR | [x] Expected 1 space after "="; 0 found
92 | ERROR | [x] Expected newline after closing brace
92 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
93 | ERROR | [x] Expected 1 space before "="; 0 found
93 | ERROR | [x] Expected 1 space after "="; 0 found
96 | ERROR | [x] Expected 1 blank line after function; 2 found
99 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
100 | ERROR | [ ] Public method name "SecurityController::security_review_results" is not in lowerCamel format
100 | ERROR | [x] You must use "/**" style comments for a function comment
100 | ERROR | [x] Expected 1 space before opening brace; found 0
102 | ERROR | [x] Expected 1 space after IF keyword; 0 found
102 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
102 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
105 | ERROR | [x] Expected one space after the comma, 0 found
105 | ERROR | [x] Expected 1 space between comma and "$last_result"; 0 found
105 | ERROR | [x] Expected one space after the comma, 0 found
111 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
112 | ERROR | [ ] Public method name "SecurityController::password_policy_results" is not in lowerCamel format
112 | ERROR | [x] You must use "/**" style comments for a function comment
112 | ERROR | [x] Expected 1 space before opening brace; found 0
113 | ERROR | [x] Expected 1 space before "="; 0 found
113 | ERROR | [x] Expected 1 space after "="; 0 found
114 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
114 | ERROR | [x] Expected 1 space before "="; 0 found
115 | ERROR | [x] Expected 1 space before "=>"; 0 found
115 | ERROR | [x] Expected 1 space after "=>"; 0 found
116 | ERROR | [x] Expected 1 space before "=>"; 0 found
116 | ERROR | [x] Expected 1 space after "=>"; 0 found
117 | ERROR | [x] Expected 1 space before "=>"; 0 found
117 | ERROR | [x] Expected 1 space after "=>"; 0 found
118 | ERROR | [x] Expected 1 space before "=>"; 0 found
118 | ERROR | [x] Expected 1 space after "=>"; 0 found
118 | ERROR | [x] Whitespace found at end of line
119 | ERROR | [x] Expected 1 space before "=>"; 0 found
119 | ERROR | [x] Expected 1 space after "=>"; 0 found
121 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
121 | ERROR | [x] Expected 1 space before "="; 0 found
121 | ERROR | [x] Expected 1 space after "="; 0 found
121 | ERROR | [ ] The array declaration extends to column 134 (the limit is 120). The array content should be split up over multiple lines
122 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
122 | ERROR | [ ] sizeof() is a function name alias, use count() instead
122 | ERROR | [x] Expected 1 space before ">"; 0 found
122 | ERROR | [x] Expected 1 space after ">"; 0 found
122 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
123 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
123 | ERROR | [ ] sizeof() is a function name alias, use count() instead
124 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 10
124 | ERROR | [ ] sizeof() is a function name alias, use count() instead
125 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 12
125 | ERROR | [x] Expected 1 space after cast statement; 0 found
125 | ERROR | [x] Expected 1 space before "==="; 0 found
125 | ERROR | [x] Expected 1 space after "==="; 0 found
126 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 14
126 | ERROR | [x] Expected 1 space before "="; 0 found
126 | ERROR | [x] Expected 1 space after "="; 0 found
126 | ERROR | [x] Expected 1 space after cast statement; 0 found
127 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 12
128 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 10
129 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
130 | ERROR | [x] Expected 1 space before "="; 0 found
130 | ERROR | [x] Expected 1 space after "="; 0 found
131 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
132 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 7
132 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
133 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
133 | ERROR | [x] Closing brace must be on a line by itself
133 | ERROR | [x] Each PHP statement must be on a line by itself
135 | ERROR | [x] Expected 1 blank line after function; 2 found
138 | ERROR | [x] Visibility must be declared on method "downloadFileExcel"
138 | ERROR | [x] Missing function doc comment
139 | ERROR | [x] Expected 1 space before "="; 0 found
139 | ERROR | [x] Expected 1 space after "="; 0 found
140 | ERROR | [x] Expected 1 space before "="; 0 found
140 | ERROR | [x] Expected 1 space after "="; 0 found
143 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
144 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4
144 | ERROR | [x] Expected one space after the comma, 0 found
144 | ERROR | [x] Expected one space after the comma, 0 found
144 | ERROR | [x] Expected one space after the comma, 0 found
144 | ERROR | [x] Expected 1 space between comma and "'Status'"; 0 found
144 | ERROR | [x] Expected 1 space between comma and "'Status'"; 0 found
144 | ERROR | [x] Expected one space after the comma, 0 found
146 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
147 | ERROR | [x] Expected one space after the comma, 0 found
147 | ERROR | [x] Expected one space after the comma, 0 found
147 | ERROR | [ ] The array declaration extends to column 139 (the limit is 120). The array content should be split up over multiple lines
147 | ERROR | [ ] The array declaration extends to column 138 (the limit is 120). The array content should be split up over multiple lines
147 | ERROR | [x] Expected 1 space between comma and "'Actual Value'"; 0 found
147 | ERROR | [x] Expected 1 space between comma and "'Actual Value'"; 0 found
147 | ERROR | [x] Expected one space after the comma, 0 found
147 | ERROR | [x] Expected 1 space between comma and "'Advised Value'"; 0 found
147 | ERROR | [x] Expected 1 space between comma and "'Advised Value'"; 0 found
147 | ERROR | [x] Expected one space after the comma, 0 found
147 | ERROR | [x] Expected 1 space between comma and "'Ok/Not ok'"; 0 found
147 | ERROR | [x] Expected 1 space between comma and "'Ok/Not ok'"; 0 found
147 | ERROR | [x] Expected one space after the comma, 0 found
149 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
150 | ERROR | [x] Expected one space after the comma, 0 found
150 | ERROR | [x] Expected one space after the comma, 0 found
150 | ERROR | [ ] The array declaration extends to column 145 (the limit is 120). The array content should be split up over multiple lines
150 | ERROR | [ ] The array declaration extends to column 144 (the limit is 120). The array content should be split up over multiple lines
150 | ERROR | [x] Expected 1 space between comma and "'Actual Value'"; 0 found
150 | ERROR | [x] Expected 1 space between comma and "'Actual Value'"; 0 found
150 | ERROR | [x] Expected one space after the comma, 0 found
150 | ERROR | [x] Expected 1 space between comma and "'Advised Value'"; 0 found
150 | ERROR | [x] Expected 1 space between comma and "'Advised Value'"; 0 found
150 | ERROR | [x] Expected one space after the comma, 0 found
150 | ERROR | [x] Expected 1 space between comma and "'Ok/Not ok'"; 0 found
150 | ERROR | [x] Expected 1 space between comma and "'Ok/Not ok'"; 0 found
150 | ERROR | [x] Expected one space after the comma, 0 found
152 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
153 | ERROR | [x] Expected one space after the comma, 0 found
153 | ERROR | [x] Expected one space after the comma, 0 found
153 | ERROR | [ ] The array declaration extends to column 148 (the limit is 120). The array content should be split up over multiple lines
153 | ERROR | [ ] The array declaration extends to column 147 (the limit is 120). The array content should be split up over multiple lines
153 | ERROR | [x] Expected 1 space between comma and "'Actual Value'"; 0 found
153 | ERROR | [x] Expected 1 space between comma and "'Actual Value'"; 0 found
153 | ERROR | [x] Expected one space after the comma, 0 found
153 | ERROR | [x] Expected 1 space between comma and "'Advised Value'"; 0 found
153 | ERROR | [x] Expected 1 space between comma and "'Advised Value'"; 0 found
153 | ERROR | [x] Expected one space after the comma, 0 found
153 | ERROR | [x] Expected 1 space between comma and "'Ok/Not ok'"; 0 found
153 | ERROR | [x] Expected 1 space between comma and "'Ok/Not ok'"; 0 found
153 | ERROR | [x] Expected one space after the comma, 0 found
155 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
156 | ERROR | [x] Expected one space after the comma, 0 found
156 | ERROR | [x] Expected one space after the comma, 0 found
156 | ERROR | [ ] The array declaration extends to column 137 (the limit is 120). The array content should be split up over multiple lines
156 | ERROR | [ ] The array declaration extends to column 136 (the limit is 120). The array content should be split up over multiple lines
156 | ERROR | [x] Expected 1 space between comma and "'Actual Value'"; 0 found
156 | ERROR | [x] Expected 1 space between comma and "'Actual Value'"; 0 found
156 | ERROR | [x] Expected one space after the comma, 0 found
156 | ERROR | [x] Expected 1 space between comma and "'Advised Value'"; 0 found
156 | ERROR | [x] Expected 1 space between comma and "'Advised Value'"; 0 found
156 | ERROR | [x] Expected one space after the comma, 0 found
156 | ERROR | [x] Expected 1 space between comma and "'Ok/Not ok'"; 0 found
156 | ERROR | [x] Expected 1 space between comma and "'Ok/Not ok'"; 0 found
156 | ERROR | [x] Expected one space after the comma, 0 found
158 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
159 | ERROR | [x] Expected one space after the comma, 0 found
159 | ERROR | [x] Expected one space after the comma, 0 found
159 | ERROR | [x] Expected 1 space between comma and "'Ok/Not ok'"; 0 found
159 | ERROR | [x] Expected 1 space between comma and "'Ok/Not ok'"; 0 found
159 | ERROR | [x] Expected one space after the comma, 0 found
161 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
163 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
167 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
174 | ERROR | [x] Expected 1 blank line after function; 2 found
177 | ERROR | [x] Visibility must be declared on method "TableinTab"
177 | ERROR | [ ] Method name "SecurityController::TableinTab" is not in lowerCamel format
177 | ERROR | [x] Missing function doc comment
180 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
184 | ERROR | [x] Comma not allowed after last value in single-line array declaration
184 | ERROR | [x] Expected one space after the comma, 0 found
187 | ERROR | [x] Expected 1 space before "=="; 0 found
187 | ERROR | [x] Expected 1 space after "=="; 0 found
187 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
190 | ERROR | [x] Expected newline after closing brace
190 | ERROR | [x] Expected 1 space after ELSEIF keyword; 0 found
190 | ERROR | [x] Expected 1 space before "=="; 0 found
190 | ERROR | [x] Expected 1 space after "=="; 0 found
190 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
193 | ERROR | [x] Expected newline after closing brace
193 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
199 | ERROR | [x] Expected 1 space before "="; 0 found
199 | ERROR | [x] Expected 1 space after "="; 0 found
199 | ERROR | [x] Expected one space after the comma, 0 found
206 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
209 | ERROR | [x] Expected 1 blank line after function; 2 found
212 | ERROR | [x] Missing function doc comment
213 | ERROR | [x] Whitespace found at end of line
214 | ERROR | [x] Expected 1 space before "="; 0 found
214 | ERROR | [x] Expected 1 space after "="; 0 found
215 | ERROR | [x] Expected 1 space before "="; 0 found
215 | ERROR | [x] Expected 1 space after "="; 0 found
216 | ERROR | [x] Expected 1 space before "="; 0 found
216 | ERROR | [x] Expected 1 space after "="; 0 found
217 | ERROR | [x] Expected 1 space before "="; 0 found
217 | ERROR | [x] Expected 1 space after "="; 0 found
218 | ERROR | [x] Expected 1 space before "="; 0 found
218 | ERROR | [x] Expected 1 space after "="; 0 found
219 | ERROR | [x] Expected 1 space before "="; 0 found
219 | ERROR | [x] Expected 1 space after "="; 0 found
220 | ERROR | [x] Expected 1 space before "="; 0 found
220 | ERROR | [x] Expected 1 space after "="; 0 found
222 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters
222 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
224 | ERROR | [x] Concat operator must be surrounded by a single space
231 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters
231 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
232 | WARNING | [ ] Line exceeds 80 characters; contains 127 characters
232 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
233 | ERROR | [x] Expected 1 space after IF keyword; 0 found
233 | ERROR | [x] Expected 1 space before "=="; 0 found
233 | ERROR | [x] Expected 1 space after "=="; 0 found
233 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
233 | ERROR | [x] Newline required after opening brace
233 | ERROR | [x] Expected 1 space before "="; 0 found
233 | ERROR | [x] Expected 1 space after "="; 0 found
233 | ERROR | [x] Closing brace must be on a line by itself
233 | ERROR | [x] Each PHP statement must be on a line by itself
234 | ERROR | [x] Expected 1 space after IF keyword; 0 found
234 | ERROR | [x] Expected 1 space before "=="; 0 found
234 | ERROR | [x] Expected 1 space after "=="; 0 found
234 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
234 | ERROR | [x] Newline required after opening brace
234 | ERROR | [x] Expected 1 space before "="; 0 found
234 | ERROR | [x] Expected 1 space after "="; 0 found
234 | ERROR | [x] Closing brace must be on a line by itself
234 | ERROR | [x] Each PHP statement must be on a line by itself
235 | ERROR | [x] Expected 1 space after IF keyword; 0 found
235 | ERROR | [x] Expected 1 space before "=="; 0 found
235 | ERROR | [x] Expected 1 space after "=="; 0 found
235 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
235 | ERROR | [x] Newline required after opening brace
235 | ERROR | [x] Expected 1 space before "="; 0 found
235 | ERROR | [x] Expected 1 space after "="; 0 found
235 | ERROR | [x] Closing brace must be on a line by itself
235 | ERROR | [x] Each PHP statement must be on a line by itself
236 | ERROR | [x] Expected 1 space after IF keyword; 0 found
236 | ERROR | [x] Expected 1 space before "=="; 0 found
236 | ERROR | [x] Expected 1 space after "=="; 0 found
236 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
236 | ERROR | [x] Newline required after opening brace
236 | ERROR | [x] Expected 1 space before "="; 0 found
236 | ERROR | [x] Expected 1 space after "="; 0 found
236 | ERROR | [x] Closing brace must be on a line by itself
236 | ERROR | [x] Each PHP statement must be on a line by itself
237 | WARNING | [ ] Line exceeds 80 characters; contains 137 characters
237 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
238 | ERROR | [x] Expected 1 space after IF keyword; 0 found
238 | ERROR | [x] Expected 1 space before "=="; 0 found
238 | ERROR | [x] Expected 1 space after "=="; 0 found
238 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
238 | ERROR | [x] Newline required after opening brace
238 | ERROR | [x] Expected 1 space before "="; 0 found
238 | ERROR | [x] Expected 1 space after "="; 0 found
238 | ERROR | [x] Closing brace must be on a line by itself
238 | ERROR | [x] Each PHP statement must be on a line by itself
239 | ERROR | [x] Expected 1 space after IF keyword; 0 found
239 | ERROR | [x] Expected 1 space before "=="; 0 found
239 | ERROR | [x] Expected 1 space after "=="; 0 found
239 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
239 | ERROR | [x] Newline required after opening brace
239 | ERROR | [x] Expected 1 space before "="; 0 found
239 | ERROR | [x] Expected 1 space after "="; 0 found
239 | ERROR | [x] Closing brace must be on a line by itself
239 | ERROR | [x] Each PHP statement must be on a line by itself
240 | ERROR | [x] Expected 1 space after IF keyword; 0 found
240 | ERROR | [x] Expected 1 space before "=="; 0 found
240 | ERROR | [x] Expected 1 space after "=="; 0 found
240 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
240 | ERROR | [x] Newline required after opening brace
240 | ERROR | [x] Expected 1 space before "="; 0 found
240 | ERROR | [x] Expected 1 space after "="; 0 found
240 | ERROR | [x] Closing brace must be on a line by itself
240 | ERROR | [x] Each PHP statement must be on a line by itself
241 | ERROR | [x] Expected 1 space after IF keyword; 0 found
241 | ERROR | [x] Expected 1 space before "=="; 0 found
241 | ERROR | [x] Expected 1 space after "=="; 0 found
241 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
241 | ERROR | [x] Newline required after opening brace
241 | ERROR | [x] Expected 1 space before "="; 0 found
241 | ERROR | [x] Expected 1 space after "="; 0 found
241 | ERROR | [x] Closing brace must be on a line by itself
241 | ERROR | [x] Each PHP statement must be on a line by itself
242 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
243 | ERROR | [x] Space found before square bracket; expected ")[" but found ") ["
243 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
244 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
245 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
246 | WARNING | [ ] Line exceeds 80 characters; contains 130 characters
246 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
247 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
248 | WARNING | [ ] Line exceeds 80 characters; contains 157 characters
248 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
248 | ERROR | [x] Whitespace found at end of line
249 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
250 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
252 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
253 | WARNING | [ ] Line exceeds 80 characters; contains 115 characters
253 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
254 | ERROR | [x] Expected 1 space after IF keyword; 0 found
254 | ERROR | [x] Expected 1 space before "=="; 0 found
254 | ERROR | [x] Expected 1 space after "=="; 0 found
254 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
254 | ERROR | [x] Newline required after opening brace
254 | ERROR | [x] Expected 1 space before "="; 0 found
254 | ERROR | [x] Expected 1 space after "="; 0 found
254 | ERROR | [x] Closing brace must be on a line by itself
254 | ERROR | [x] Each PHP statement must be on a line by itself
255 | ERROR | [x] Expected 1 space after IF keyword; 0 found
255 | ERROR | [x] Expected 1 space before "=="; 0 found
255 | ERROR | [x] Expected 1 space after "=="; 0 found
255 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
255 | ERROR | [x] Newline required after opening brace
255 | ERROR | [x] Expected 1 space before "="; 0 found
255 | ERROR | [x] Expected 1 space after "="; 0 found
255 | ERROR | [x] Closing brace must be on a line by itself
255 | ERROR | [x] Each PHP statement must be on a line by itself
256 | ERROR | [x] Expected 1 space after IF keyword; 0 found
256 | ERROR | [x] Expected 1 space before "=="; 0 found
256 | ERROR | [x] Expected 1 space after "=="; 0 found
256 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
256 | ERROR | [x] Newline required after opening brace
256 | ERROR | [x] Expected 1 space before "="; 0 found
256 | ERROR | [x] Expected 1 space after "="; 0 found
256 | ERROR | [x] Closing brace must be on a line by itself
256 | ERROR | [x] Each PHP statement must be on a line by itself
257 | ERROR | [x] Expected 1 space after IF keyword; 0 found
257 | ERROR | [x] Expected 1 space before "=="; 0 found
257 | ERROR | [x] Expected 1 space after "=="; 0 found
257 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
257 | ERROR | [x] Newline required after opening brace
257 | ERROR | [x] Expected 1 space before "="; 0 found
257 | ERROR | [x] Expected 1 space after "="; 0 found
257 | ERROR | [x] Closing brace must be on a line by itself
257 | ERROR | [x] Each PHP statement must be on a line by itself
258 | WARNING | [ ] Line exceeds 80 characters; contains 125 characters
258 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
259 | ERROR | [x] Expected 1 space after IF keyword; 0 found
259 | ERROR | [x] Expected 1 space before "=="; 0 found
259 | ERROR | [x] Expected 1 space after "=="; 0 found
259 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
259 | ERROR | [x] Newline required after opening brace
259 | ERROR | [x] Expected 1 space before "="; 0 found
259 | ERROR | [x] Expected 1 space after "="; 0 found
259 | ERROR | [x] Closing brace must be on a line by itself
259 | ERROR | [x] Each PHP statement must be on a line by itself
260 | ERROR | [x] Expected 1 space after IF keyword; 0 found
260 | ERROR | [x] Expected 1 space before "=="; 0 found
260 | ERROR | [x] Expected 1 space after "=="; 0 found
260 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
260 | ERROR | [x] Newline required after opening brace
260 | ERROR | [x] Expected 1 space before "="; 0 found
260 | ERROR | [x] Expected 1 space after "="; 0 found
260 | ERROR | [x] Closing brace must be on a line by itself
260 | ERROR | [x] Each PHP statement must be on a line by itself
261 | ERROR | [x] Expected 1 space after IF keyword; 0 found
261 | ERROR | [x] Expected 1 space before "=="; 0 found
261 | ERROR | [x] Expected 1 space after "=="; 0 found
261 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
261 | ERROR | [x] Newline required after opening brace
261 | ERROR | [x] Expected 1 space before "="; 0 found
261 | ERROR | [x] Expected 1 space after "="; 0 found
261 | ERROR | [x] Closing brace must be on a line by itself
261 | ERROR | [x] Each PHP statement must be on a line by itself
262 | ERROR | [x] Expected 1 space after IF keyword; 0 found
262 | ERROR | [x] Expected 1 space before "=="; 0 found
262 | ERROR | [x] Expected 1 space after "=="; 0 found
262 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
262 | ERROR | [x] Newline required after opening brace
262 | ERROR | [x] Expected 1 space before "="; 0 found
262 | ERROR | [x] Expected 1 space after "="; 0 found
262 | ERROR | [x] Closing brace must be on a line by itself
262 | ERROR | [x] Each PHP statement must be on a line by itself
263 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
264 | ERROR | [x] Space found before square bracket; expected ")[" but found ") ["
264 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
265 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
266 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
267 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
268 | WARNING | [ ] Line exceeds 80 characters; contains 145 characters
268 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
268 | ERROR | [x] Whitespace found at end of line
269 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
271 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
272 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
273 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
274 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
275 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
276 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
277 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
278 | ERROR | [x] Expected 1 space before "="; 0 found
278 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
279 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
281 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
282 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
283 | ERROR | [x] Expected 1 space after IF keyword; 0 found
283 | ERROR | [x] Expected 1 space before "=="; 0 found
283 | ERROR | [x] Expected 1 space after "=="; 0 found
283 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
283 | ERROR | [x] Newline required after opening brace
283 | ERROR | [x] Expected 1 space before "="; 0 found
283 | ERROR | [x] Expected 1 space after "="; 0 found
283 | ERROR | [x] Closing brace must be on a line by itself
283 | ERROR | [x] Each PHP statement must be on a line by itself
284 | ERROR | [x] Expected 1 space after IF keyword; 0 found
284 | ERROR | [x] Expected 1 space before "=="; 0 found
284 | ERROR | [x] Expected 1 space after "=="; 0 found
284 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
284 | ERROR | [x] Newline required after opening brace
284 | ERROR | [x] Expected 1 space before "="; 0 found
284 | ERROR | [x] Expected 1 space after "="; 0 found
284 | ERROR | [x] Closing brace must be on a line by itself
284 | ERROR | [x] Each PHP statement must be on a line by itself
285 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
286 | ERROR | [x] Expected 1 space after IF keyword; 0 found
286 | ERROR | [x] Expected 1 space before "=="; 0 found
286 | ERROR | [x] Expected 1 space after "=="; 0 found
286 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
286 | ERROR | [x] Newline required after opening brace
286 | ERROR | [x] Expected 1 space before "="; 0 found
286 | ERROR | [x] Expected 1 space after "="; 0 found
286 | ERROR | [x] Closing brace must be on a line by itself
286 | ERROR | [x] Each PHP statement must be on a line by itself
287 | ERROR | [x] Expected 1 space after IF keyword; 0 found
287 | ERROR | [x] Expected 1 space before "=="; 0 found
287 | ERROR | [x] Expected 1 space after "=="; 0 found
287 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
287 | ERROR | [x] Newline required after opening brace
287 | ERROR | [x] Expected 1 space before "="; 0 found
287 | ERROR | [x] Expected 1 space after "="; 0 found
287 | ERROR | [x] Closing brace must be on a line by itself
287 | ERROR | [x] Each PHP statement must be on a line by itself
288 | ERROR | [x] Expected 1 space before "="; 0 found
288 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
289 | ERROR | [x] Expected 1 space after IF keyword; 0 found
289 | ERROR | [x] Expected 1 space before "=="; 0 found
289 | ERROR | [x] Expected 1 space after "=="; 0 found
289 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
289 | ERROR | [x] Newline required after opening brace
289 | ERROR | [x] Expected 1 space before "="; 0 found
289 | ERROR | [x] Expected 1 space after "="; 0 found
289 | ERROR | [x] Closing brace must be on a line by itself
289 | ERROR | [x] Each PHP statement must be on a line by itself
290 | ERROR | [x] Expected 1 space after IF keyword; 0 found
290 | ERROR | [x] Expected 1 space before "=="; 0 found
290 | ERROR | [x] Expected 1 space after "=="; 0 found
290 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
290 | ERROR | [x] Newline required after opening brace
290 | ERROR | [x] Expected 1 space before "="; 0 found
290 | ERROR | [x] Expected 1 space after "="; 0 found
290 | ERROR | [x] Closing brace must be on a line by itself
290 | ERROR | [x] Each PHP statement must be on a line by itself
291 | ERROR | [x] Expected 1 space after IF keyword; 0 found
291 | ERROR | [x] Expected 1 space before "=="; 0 found
291 | ERROR | [x] Expected 1 space after "=="; 0 found
291 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
291 | ERROR | [x] Newline required after opening brace
291 | ERROR | [x] Expected 1 space before "="; 0 found
291 | ERROR | [x] Expected 1 space after "="; 0 found
291 | ERROR | [x] Closing brace must be on a line by itself
291 | ERROR | [x] Each PHP statement must be on a line by itself
292 | ERROR | [x] Expected 1 space after IF keyword; 0 found
292 | ERROR | [x] Expected 1 space before "=="; 0 found
292 | ERROR | [x] Expected 1 space after "=="; 0 found
292 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
292 | ERROR | [x] Newline required after opening brace
292 | ERROR | [x] Expected 1 space before "="; 0 found
292 | ERROR | [x] Expected 1 space after "="; 0 found
292 | ERROR | [x] Closing brace must be on a line by itself
292 | ERROR | [x] Each PHP statement must be on a line by itself
293 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
294 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
295 | ERROR | [x] Expected 1 space after IF keyword; 0 found
295 | ERROR | [x] Expected 1 space before "=="; 0 found
295 | ERROR | [x] Expected 1 space after "=="; 0 found
295 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
295 | ERROR | [x] Newline required after opening brace
295 | ERROR | [x] Expected 1 space before "="; 0 found
295 | ERROR | [x] Expected 1 space after "="; 0 found
295 | ERROR | [x] Closing brace must be on a line by itself
295 | ERROR | [x] Each PHP statement must be on a line by itself
296 | ERROR | [x] Expected 1 space after IF keyword; 0 found
296 | ERROR | [x] Expected 1 space before "=="; 0 found
296 | ERROR | [x] Expected 1 space after "=="; 0 found
296 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
296 | ERROR | [x] Newline required after opening brace
296 | ERROR | [x] Expected 1 space before "="; 0 found
296 | ERROR | [x] Expected 1 space after "="; 0 found
296 | ERROR | [x] Closing brace must be on a line by itself
296 | ERROR | [x] Each PHP statement must be on a line by itself
297 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
298 | ERROR | [x] Expected 1 space after IF keyword; 0 found
298 | ERROR | [x] Expected 1 space before "=="; 0 found
298 | ERROR | [x] Expected 1 space after "=="; 0 found
298 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
298 | ERROR | [x] Newline required after opening brace
298 | ERROR | [x] Expected 1 space before "="; 0 found
298 | ERROR | [x] Expected 1 space after "="; 0 found
298 | ERROR | [x] Closing brace must be on a line by itself
298 | ERROR | [x] Each PHP statement must be on a line by itself
299 | ERROR | [x] Expected 1 space after IF keyword; 0 found
299 | ERROR | [x] Expected 1 space before "=="; 0 found
299 | ERROR | [x] Expected 1 space after "=="; 0 found
299 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
299 | ERROR | [x] Newline required after opening brace
299 | ERROR | [x] Expected 1 space before "="; 0 found
299 | ERROR | [x] Expected 1 space after "="; 0 found
299 | ERROR | [x] Closing brace must be on a line by itself
299 | ERROR | [x] Each PHP statement must be on a line by itself
300 | ERROR | [x] Expected 1 space before "="; 0 found
300 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
301 | ERROR | [x] Expected 1 space after IF keyword; 0 found
301 | ERROR | [x] Expected 1 space before "=="; 0 found
301 | ERROR | [x] Expected 1 space after "=="; 0 found
301 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
301 | ERROR | [x] Newline required after opening brace
301 | ERROR | [x] Expected 1 space before "="; 0 found
301 | ERROR | [x] Expected 1 space after "="; 0 found
301 | ERROR | [x] Closing brace must be on a line by itself
301 | ERROR | [x] Each PHP statement must be on a line by itself
302 | ERROR | [x] Expected 1 space after IF keyword; 0 found
302 | ERROR | [x] Expected 1 space before "=="; 0 found
302 | ERROR | [x] Expected 1 space after "=="; 0 found
302 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
302 | ERROR | [x] Newline required after opening brace
302 | ERROR | [x] Expected 1 space before "="; 0 found
302 | ERROR | [x] Expected 1 space after "="; 0 found
302 | ERROR | [x] Closing brace must be on a line by itself
302 | ERROR | [x] Each PHP statement must be on a line by itself
303 | ERROR | [x] Expected 1 space after IF keyword; 0 found
303 | ERROR | [x] Expected 1 space before "=="; 0 found
303 | ERROR | [x] Expected 1 space after "=="; 0 found
303 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
303 | ERROR | [x] Newline required after opening brace
303 | ERROR | [x] Expected 1 space before "="; 0 found
303 | ERROR | [x] Expected 1 space after "="; 0 found
303 | ERROR | [x] Closing brace must be on a line by itself
303 | ERROR | [x] Each PHP statement must be on a line by itself
304 | ERROR | [x] Expected 1 space after IF keyword; 0 found
304 | ERROR | [x] Expected 1 space before "=="; 0 found
304 | ERROR | [x] Expected 1 space after "=="; 0 found
304 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
304 | ERROR | [x] Newline required after opening brace
304 | ERROR | [x] Expected 1 space before "="; 0 found
304 | ERROR | [x] Expected 1 space after "="; 0 found
304 | ERROR | [x] Closing brace must be on a line by itself
304 | ERROR | [x] Each PHP statement must be on a line by itself
306 | ERROR | [x] Perl-style comments are not allowed; use "// Comment" instead
310 | ERROR | [x] Expected 1 space after IF keyword; 0 found
310 | ERROR | [x] Expected 1 space before "=="; 0 found
310 | ERROR | [x] Expected 1 space after "=="; 0 found
310 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
310 | ERROR | [x] Newline required after opening brace
310 | ERROR | [x] Expected 1 space before "="; 0 found
310 | ERROR | [x] Expected 1 space after "="; 0 found
310 | ERROR | [x] Closing brace must be on a line by itself
310 | ERROR | [x] Each PHP statement must be on a line by itself
311 | ERROR | [x] Expected 1 space after IF keyword; 0 found
311 | ERROR | [x] Expected 1 space before "=="; 0 found
311 | ERROR | [x] Expected 1 space after "=="; 0 found
311 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
311 | ERROR | [x] Newline required after opening brace
311 | ERROR | [x] Expected 1 space before "="; 0 found
311 | ERROR | [x] Expected 1 space after "="; 0 found
311 | ERROR | [x] Closing brace must be on a line by itself
311 | ERROR | [x] Each PHP statement must be on a line by itself
315 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
316 | ERROR | [x] Expected 1 space before "="; 0 found
316 | ERROR | [x] Expected 1 space after "="; 0 found
317 | ERROR | [x] Expected 1 space before "="; 0 found
317 | ERROR | [x] Expected 1 space after "="; 0 found
318 | ERROR | [x] Expected 1 space after IF keyword; 0 found
318 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
318 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
319 | ERROR | [x] Expected 1 space before "="; 0 found
319 | ERROR | [x] Expected 1 space after "="; 0 found
321 | ERROR | [x] Whitespace found at end of line
322 | ERROR | [x] Expected 1 space after IF keyword; 0 found
322 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
322 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
323 | ERROR | [x] Expected 1 space before "="; 0 found
323 | ERROR | [x] Expected 1 space after "="; 0 found
323 | ERROR | [x] Expected 1 space before "="; 0 found
323 | ERROR | [x] Expected 1 space after "="; 0 found
323 | ERROR | [x] Each PHP statement must be on a line by itself
323 | ERROR | [x] Expected 1 space before "="; 0 found
323 | ERROR | [x] Expected 1 space after "="; 0 found
323 | ERROR | [x] Expected 1 space before "+"; 0 found
323 | ERROR | [x] Expected 1 space after "+"; 0 found
323 | ERROR | [x] Each PHP statement must be on a line by itself
324 | ERROR | [ ] sizeof() is a function name alias, use count() instead
325 | ERROR | [x] Expected 1 space after IF keyword; 0 found
325 | ERROR | [x] Expected 1 space before "=="; 0 found
325 | ERROR | [x] Expected 1 space after "=="; 0 found
325 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
326 | ERROR | [x] Expected 1 space before "="; 0 found
326 | ERROR | [x] Expected 1 space after "="; 0 found
327 | ERROR | [x] Expected 1 space before "="; 0 found
327 | ERROR | [x] Expected 1 space after "="; 0 found
327 | ERROR | [x] Expected 1 space before "+"; 0 found
327 | ERROR | [x] Expected 1 space after "+"; 0 found
329 | ERROR | [x] Expected 1 space after IF keyword; 0 found
329 | ERROR | [x] Expected 1 space before "=="; 0 found
329 | ERROR | [x] Expected 1 space after "=="; 0 found
329 | ERROR | [x] Expected 1 space before "=="; 0 found
329 | ERROR | [x] Expected 1 space after "=="; 0 found
329 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
330 | ERROR | [x] Expected 1 space before "="; 0 found
330 | ERROR | [x] Expected 1 space after "="; 0 found
331 | ERROR | [x] Expected 1 space before "="; 0 found
331 | ERROR | [x] Expected 1 space after "="; 0 found
331 | ERROR | [x] Expected 1 space before "+"; 0 found
331 | ERROR | [x] Expected 1 space after "+"; 0 found
333 | ERROR | [x] Expected 1 space before "="; 0 found
333 | ERROR | [x] Expected 1 space after "="; 0 found
333 | ERROR | [x] Expected 1 space after cast statement; 0 found
334 | ERROR | [x] Expected 1 space before "="; 0 found
334 | ERROR | [x] Expected 1 space after "="; 0 found
334 | ERROR | [x] Expected one space after the comma, 0 found
338 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
338 | ERROR | [x] No space found before comment text; expected "// Table build" but found "//Table build"
338 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
339 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
344 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
348 | ERROR | [x] Expected 1 space before "=>"; 0 found
351 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
356 | ERROR | [ ] The array declaration extends to column 139 (the limit is 120). The array content should be split up over multiple lines
356 | ERROR | [x] Expected 1 space before "=="; 0 found
356 | ERROR | [x] Expected 1 space after "=="; 0 found
356 | ERROR | [x] Expected 1 space before "=="; 0 found
356 | ERROR | [x] Expected 1 space after "=="; 0 found
360 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
360 | ERROR | [x] Expected 1 space before "=="; 0 found
360 | ERROR | [x] Expected 1 space after "=="; 0 found
360 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
361 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
361 | ERROR | [x] Expected 1 space before "="; 0 found
361 | ERROR | [x] Expected 1 space after "="; 0 found
362 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
362 | ERROR | [x] Expected newline after closing brace
362 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
363 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
363 | ERROR | [x] Whitespace found at end of line
364 | ERROR | [ ] The array declaration extends to column 132 (the limit is 120). The array content should be split up over multiple lines
364 | ERROR | [x] Expected 1 space before "==="; 0 found
364 | ERROR | [x] Expected 1 space after "==="; 0 found
365 | ERROR | [ ] The array declaration extends to column 123 (the limit is 120). The array content should be split up over multiple lines
365 | ERROR | [x] Expected 1 space before "==="; 0 found
365 | ERROR | [x] Expected 1 space after "==="; 0 found
366 | ERROR | [ ] The array declaration extends to column 191 (the limit is 120). The array content should be split up over multiple lines
366 | ERROR | [x] Expected 1 space before "==="; 0 found
366 | ERROR | [x] Expected 1 space after "==="; 0 found
366 | ERROR | [x] Expected 1 space before "?"; 0 found
367 | ERROR | [ ] The array declaration extends to column 233 (the limit is 120). The array content should be split up over multiple lines
367 | ERROR | [x] Expected 1 space before "==="; 0 found
367 | ERROR | [x] Expected 1 space after "==="; 0 found
367 | ERROR | [x] Expected 1 space before "?"; 0 found
368 | ERROR | [ ] The array declaration extends to column 140 (the limit is 120). The array content should be split up over multiple lines
368 | ERROR | [x] Expected 1 space before "<="; 0 found
368 | ERROR | [x] Expected 1 space after "<="; 0 found
369 | ERROR | [ ] The array declaration extends to column 241 (the limit is 120). The array content should be split up over multiple lines
369 | ERROR | [x] Expected 1 space before "?"; 0 found
370 | ERROR | [ ] The array declaration extends to column 264 (the limit is 120). The array content should be split up over multiple lines
370 | ERROR | [x] Expected 1 space before "==="; 0 found
370 | ERROR | [x] Expected 1 space after "==="; 0 found
371 | ERROR | [ ] The array declaration extends to column 237 (the limit is 120). The array content should be split up over multiple lines
371 | ERROR | [x] Expected 1 space before "?"; 0 found
372 | ERROR | [ ] The array declaration extends to column 286 (the limit is 120). The array content should be split up over multiple lines
372 | ERROR | [x] Expected 1 space before "==="; 0 found
372 | ERROR | [x] Expected 1 space after "==="; 0 found
374 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
376 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
376 | ERROR | [x] Expected 1 space before "=="; 0 found
376 | ERROR | [x] Expected 1 space after "=="; 0 found
376 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
377 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
377 | ERROR | [x] Expected 1 space before "="; 0 found
377 | ERROR | [x] Expected 1 space after "="; 0 found
378 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
378 | ERROR | [x] Expected newline after closing brace
378 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
379 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
379 | ERROR | [x] Expected 1 space before "="; 0 found
379 | ERROR | [x] Expected 1 space after "="; 0 found
380 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
380 | ERROR | [x] Expected 1 space before "="; 0 found
380 | ERROR | [x] Expected 1 space after "="; 0 found
381 | ERROR | [ ] The array declaration extends to column 170 (the limit is 120). The array content should be split up over multiple lines
381 | ERROR | [x] Expected 1 space before "<="; 0 found
381 | ERROR | [x] Expected 1 space after "<="; 0 found
382 | ERROR | [ ] The array declaration extends to column 183 (the limit is 120). The array content should be split up over multiple lines
382 | ERROR | [x] Expected 1 space after cast statement; 0 found
382 | ERROR | [x] Expected 1 space before ">="; 0 found
382 | ERROR | [x] Expected 1 space after ">="; 0 found
383 | ERROR | [ ] The array declaration extends to column 195 (the limit is 120). The array content should be split up over multiple lines
383 | ERROR | [x] Expected 1 space after cast statement; 0 found
383 | ERROR | [x] Expected 1 space before "=="; 0 found
383 | ERROR | [x] Expected 1 space after "=="; 0 found
384 | ERROR | [ ] The array declaration extends to column 199 (the limit is 120). The array content should be split up over multiple lines
384 | ERROR | [x] Expected 1 space after cast statement; 0 found
384 | ERROR | [x] Expected 1 space before ">="; 0 found
384 | ERROR | [x] Expected 1 space after ">="; 0 found
385 | ERROR | [ ] The array declaration extends to column 213 (the limit is 120). The array content should be split up over multiple lines
385 | ERROR | [x] Expected 1 space before "<="; 0 found
385 | ERROR | [x] Expected 1 space after "<="; 0 found
387 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
389 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
389 | ERROR | [x] Expected 1 space before "=="; 0 found
389 | ERROR | [x] Expected 1 space after "=="; 0 found
389 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
390 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
390 | ERROR | [x] Expected 1 space before "="; 0 found
390 | ERROR | [x] Expected 1 space after "="; 0 found
391 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
391 | ERROR | [x] Expected newline after closing brace
391 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
392 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
392 | ERROR | [x] Whitespace found at end of line
393 | ERROR | [ ] The array declaration extends to column 155 (the limit is 120). The array content should be split up over multiple lines
393 | ERROR | [x] Expected 1 space before "<="; 0 found
393 | ERROR | [x] Expected 1 space after "<="; 0 found
394 | ERROR | [ ] The array declaration extends to column 140 (the limit is 120). The array content should be split up over multiple lines
394 | ERROR | [x] Expected 1 space before "<="; 0 found
394 | ERROR | [x] Expected 1 space after "<="; 0 found
395 | ERROR | [ ] The array declaration extends to column 157 (the limit is 120). The array content should be split up over multiple lines
395 | ERROR | [x] Expected 1 space before "<="; 0 found
395 | ERROR | [x] Expected 1 space after "<="; 0 found
397 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
399 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
399 | ERROR | [x] Expected 1 space before "=="; 0 found
399 | ERROR | [x] Expected 1 space after "=="; 0 found
399 | ERROR | [x] Expected 1 space before "=="; 0 found
399 | ERROR | [x] Expected 1 space after "=="; 0 found
399 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
400 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
400 | ERROR | [x] Expected 1 space before "="; 0 found
400 | ERROR | [x] Expected 1 space after "="; 0 found
401 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
401 | ERROR | [x] Expected newline after closing brace
401 | ERROR | [x] Expected 1 space before "=="; 0 found
401 | ERROR | [x] Expected 1 space after "=="; 0 found
402 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
402 | ERROR | [x] Whitespace found at end of line
403 | ERROR | [ ] The array declaration extends to column 156 (the limit is 120). The array content should be split up over multiple lines
403 | ERROR | [x] Expected 1 space before "=="; 0 found
403 | ERROR | [x] Expected 1 space after "=="; 0 found
404 | ERROR | [ ] The array declaration extends to column 164 (the limit is 120). The array content should be split up over multiple lines
404 | ERROR | [x] Expected 1 space before "=="; 0 found
404 | ERROR | [x] Expected 1 space after "=="; 0 found
405 | ERROR | [ ] The array declaration extends to column 182 (the limit is 120). The array content should be split up over multiple lines
405 | ERROR | [x] Expected 1 space before "=="; 0 found
405 | ERROR | [x] Expected 1 space after "=="; 0 found
407 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
409 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
409 | ERROR | [x] Expected 1 space before "="; 0 found
409 | ERROR | [x] Expected 1 space after "="; 0 found
411 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
411 | ERROR | [x] Expected 1 space before "="; 0 found
411 | ERROR | [x] Expected 1 space after "="; 0 found
411 | ERROR | [x] Expected one space after the comma, 0 found
413 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
413 | ERROR | [x] Expected 1 space before "="; 0 found
413 | ERROR | [x] Expected 1 space after "="; 0 found
413 | ERROR | [x] Expected one space after the comma, 0 found
413 | ERROR | [x] Expected one space after the comma, 0 found
413 | ERROR | [x] Whitespace found at end of line
414 | ERROR | [x] Array indentation error, expected 8 spaces but found 6
414 | ERROR | [x] Expected one space after the comma, 0 found
414 | ERROR | [x] Expected one space after the comma, 0 found
414 | ERROR | [x] Closing parenthesis of array declaration must be on a new line
416 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
416 | ERROR | [x] Expected 1 space before "="; 0 found
416 | ERROR | [x] Expected 1 space after "="; 0 found
416 | ERROR | [x] Expected one space after the comma, 0 found
416 | ERROR | [x] Expected one space after the comma, 0 found
416 | ERROR | [x] Whitespace found at end of line
417 | ERROR | [x] Array indentation error, expected 8 spaces but found 6
417 | ERROR | [x] Expected one space after the comma, 0 found
417 | ERROR | [x] Expected one space after the comma, 0 found
417 | ERROR | [x] Closing parenthesis of array declaration must be on a new line
419 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
420 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
421 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
421 | ERROR | [x] Expected 1 space before "="; 0 found
421 | ERROR | [x] Expected 1 space after "="; 0 found
421 | ERROR | [x] Concat operator must be surrounded by a single space
422 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
424 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
424 | ERROR | [x] Expected 1 space before "="; 0 found
424 | ERROR | [x] Expected 1 space after "="; 0 found
425 | ERROR | [x] Expected 1 space before "=>"; 0 found
425 | ERROR | [x] Expected 1 space after "=>"; 0 found
426 | ERROR | [x] Expected 1 space before "=>"; 0 found
426 | ERROR | [x] Expected 1 space after "=>"; 0 found
427 | ERROR | [x] Expected 1 space before "=>"; 0 found
427 | ERROR | [x] Expected 1 space after "=>"; 0 found
428 | ERROR | [x] Expected 1 space before "=>"; 0 found
428 | ERROR | [x] Expected 1 space after "=>"; 0 found
429 | ERROR | [x] Expected 1 space after "=>"; 0 found
430 | ERROR | [x] Expected 1 space before "=>"; 0 found
430 | ERROR | [x] Expected 1 space after "=>"; 0 found
431 | ERROR | [x] Expected 1 space before "=>"; 0 found
431 | ERROR | [x] Expected 1 space after "=>"; 0 found
432 | ERROR | [x] Expected 1 space before "=>"; 0 found
432 | ERROR | [x] Expected 1 space after "=>"; 0 found
433 | ERROR | [x] Expected 1 space before "=>"; 0 found
433 | ERROR | [x] Expected 1 space after "=>"; 0 found
434 | ERROR | [x] Expected 1 space before "=>"; 0 found
434 | ERROR | [x] Expected 1 space after "=>"; 0 found
435 | ERROR | [x] Expected 1 space before "=>"; 0 found
435 | ERROR | [x] Expected 1 space after "=>"; 0 found
436 | ERROR | [x] Expected 1 space before "=>"; 0 found
436 | ERROR | [x] Expected 1 space after "=>"; 0 found
439 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
442 | ERROR | [x] Missing function doc comment
446 | ERROR | [x] Whitespace found at end of line
452 | ERROR | [x] Whitespace found at end of line
456 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
501 | ERROR | [x] Expected 1 space before "="; 0 found
501 | ERROR | [x] Expected 1 space after "="; 0 found
508 | ERROR | [x] Whitespace found at end of line
513 | ERROR | [x] Expected 1 space before "="; 0 found
513 | ERROR | [x] Expected 1 space after "="; 0 found
516 | ERROR | [x] Expected 1 blank line after function; 0 found
517 | ERROR | [x] Expected 1 newline at end of file; 2 found
517 | ERROR | [x] The closing brace for the class must have an empty line before it
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 820 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/security_analysis/security_analysis.routing.yml
---------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------
18 | ERROR | [x] Expected 1 newline at end of file; 2 found
---------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/security_analysis/css/style-checklist.css
------------------------------------------------------------------------------------------------
FOUND 28 ERRORS AFFECTING 25 LINES
------------------------------------------------------------------------------------------------
20 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
21 | ERROR | [x] CSS colours must be defined in lowercase; expected #070f26 but found #070F26
51 | ERROR | [x] CSS colours must be defined in lowercase; expected #f98b85 but found #F98B85
113 | ERROR | [x] Multiple selectors should each be on a single line
120 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
130 | ERROR | [x] CSS colours must be defined in lowercase; expected #070f26 but found #070F26
135 | ERROR | [x] CSS colours must be defined in lowercase; expected #fdf7df but found #FDF7DF
136 | ERROR | [x] CSS colours must be defined in lowercase; expected #feec6f but found #FEEC6F
148 | ERROR | [x] Expected 0 spaces before semicolon in style definition; 1 found
148 | ERROR | [x] Whitespace found at end of line
183 | ERROR | [x] CSS colours must be defined in lowercase; expected #262c3a but found #262C3A
183 | ERROR | [x] CSS colours must be defined in lowercase; expected #070f26 but found #070F26
194 | ERROR | [x] Whitespace found at end of line
203 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
207 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
211 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
229 | ERROR | [x] Whitespace found at end of line
240 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
290 | ERROR | [ ] More than 2 empty lines are not allowed
291 | ERROR | [ ] More than 2 empty lines are not allowed
292 | ERROR | [ ] More than 2 empty lines are not allowed
293 | ERROR | [ ] More than 2 empty lines are not allowed
294 | ERROR | [ ] More than 2 empty lines are not allowed
302 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
319 | ERROR | [x] Expected 1 newline at end of file; 5 found
322 | ERROR | [ ] More than 2 empty lines are not allowed
323 | ERROR | [ ] More than 2 empty lines are not allowed
323 | ERROR | [x] Additional whitespace found at end of file
------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 21 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/security_analysis/security_analysis.libraries.yml
-----------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------
12 | ERROR | [x] Expected 1 newline at end of file; 4 found
-----------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/security_analysis/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
----------------------------------------------------------------------
14 | WARNING | Line exceeds 80 characters; contains 96 characters
15 | WARNING | Line exceeds 80 characters; contains 109 characters
21 | WARNING | Line exceeds 80 characters; contains 98 characters
----------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/security_analysis/security_analysis.module
----------------------------------------------------------------------------------
FOUND 10 ERRORS AND 2 WARNINGS AFFECTING 12 LINES
----------------------------------------------------------------------------------
4 | ERROR | [x] The second line in the file doc comment must be "@file"
5 | ERROR | [x] There must be no blank lines after the function comment
15 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
23 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
29 | ERROR | [x] Expected 1 space after "=>"; 0 found
30 | ERROR | [x] Expected 1 space after "=>"; 0 found
41 | ERROR | [x] Expected 1 newline at end of file; 8 found
44 | ERROR | [ ] More than 2 empty lines are not allowed
45 | ERROR | [ ] More than 2 empty lines are not allowed
46 | ERROR | [ ] More than 2 empty lines are not allowed
47 | ERROR | [ ] More than 2 empty lines are not allowed
48 | ERROR | [ ] More than 2 empty lines are not allowed
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------

Some of the I fixed already by running phpcbf command for your module
below is the patch for these, hope you value my efforts

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Harpreet_singh_saluja

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024