Created
May 21, 2018 13:20
-
-
Save andypost/3cb464a5754e877e0ded9f704d2eee57 to your computer and use it in GitHub Desktop.
PHPCS drupal.ru/sites/all/modules/custom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILE: /work/xbbcode_dru/xbbcode_dru.module | |
---------------------------------------------------------------------- | |
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | Missing short description in doc comment | |
7 | ERROR | Doc comment is empty | |
11 | WARNING | Do not use drupal_add_css() in hook_init(), use | |
| | #attached for CSS and JS in your page/form callback | |
| | or in hook_page_build() instead | |
14 | ERROR | Doc comment is empty | |
---------------------------------------------------------------------- | |
FILE: /work/xbbcode_dru/README.md | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES | |
---------------------------------------------------------------------- | |
3 | WARNING | Line exceeds 80 characters; contains 87 characters | |
7 | WARNING | Line exceeds 80 characters; contains 90 characters | |
11 | WARNING | Line exceeds 80 characters; contains 87 characters | |
19 | WARNING | Line exceeds 80 characters; contains 99 characters | |
23 | WARNING | Line exceeds 80 characters; contains 136 characters | |
27 | WARNING | Line exceeds 80 characters; contains 97 characters | |
35 | WARNING | Line exceeds 80 characters; contains 85 characters | |
39 | WARNING | Line exceeds 80 characters; contains 85 characters | |
---------------------------------------------------------------------- | |
FILE: /work/inner_poll/inner_poll.css | |
---------------------------------------------------------------------- | |
FOUND 5 ERRORS AFFECTING 5 LINES | |
---------------------------------------------------------------------- | |
6 | ERROR | [x] Whitespace found at end of line | |
8 | ERROR | [x] Whitespace found at end of line | |
11 | ERROR | [x] Whitespace found at end of line | |
58 | ERROR | [x] Multiple selectors should each be on a single line | |
60 | ERROR | [x] Expected 1 newline at end of file; 0 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/inner_poll/README.txt | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
38 | ERROR | [x] Expected 1 newline at end of file; 0 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/inner_poll/inner_poll.module | |
---------------------------------------------------------------------- | |
FOUND 13 ERRORS AND 48 WARNINGS AFFECTING 58 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [ ] Missing short description in doc comment | |
4 | ERROR | [x] The second line in the file doc comment must be | |
| | "@file" | |
12 | WARNING | [ ] Line exceeds 80 characters; contains 137 | |
| | characters | |
13 | WARNING | [ ] All constants defined by a module must be | |
| | prefixed with the module's name, expected | |
| | "INNER_POLL_ANSWER_PROPERTY" but found | |
| | "ANSWER_PROPERTY" | |
45 | WARNING | [ ] Line exceeds 80 characters; contains 142 | |
| | characters | |
51 | WARNING | [ ] Line exceeds 80 characters; contains 180 | |
| | characters | |
80 | WARNING | [ ] Line exceeds 80 characters; contains 119 | |
| | characters | |
132 | WARNING | [ ] Line exceeds 80 characters; contains 136 | |
| | characters | |
142 | WARNING | [ ] Line exceeds 80 characters; contains 151 | |
| | characters | |
154 | WARNING | [ ] Line exceeds 80 characters; contains 124 | |
| | characters | |
180 | WARNING | [ ] Line exceeds 80 characters; contains 144 | |
| | characters | |
182 | WARNING | [ ] Line exceeds 80 characters; contains 188 | |
| | characters | |
183 | WARNING | [ ] Line exceeds 80 characters; contains 180 | |
| | characters | |
183 | ERROR | [ ] Comment indentation error, expected only 1 | |
| | spaces | |
184 | WARNING | [ ] Line exceeds 80 characters; contains 107 | |
| | characters | |
213 | WARNING | [ ] Line exceeds 80 characters; contains 90 | |
| | characters | |
237 | WARNING | [ ] Line exceeds 80 characters; contains 158 | |
| | characters | |
264 | WARNING | [ ] Line exceeds 80 characters; contains 135 | |
| | characters | |
268 | WARNING | [ ] Line exceeds 80 characters; contains 203 | |
| | characters | |
278 | WARNING | [ ] Line exceeds 80 characters; contains 97 | |
| | characters | |
285 | WARNING | [ ] Line exceeds 80 characters; contains 118 | |
| | characters | |
293 | WARNING | [ ] Line exceeds 80 characters; contains 87 | |
| | characters | |
314 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
315 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
316 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
317 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
318 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
319 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
320 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
321 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
322 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
323 | ERROR | [x] Array closing indentation error, expected 6 | |
| | spaces but found 8 | |
361 | WARNING | [ ] Line exceeds 80 characters; contains 92 | |
| | characters | |
420 | WARNING | [ ] Line exceeds 80 characters; contains 105 | |
| | characters | |
448 | WARNING | [ ] Form error messages are user facing text and | |
| | must run through t() for translation | |
493 | WARNING | [ ] Line exceeds 80 characters; contains 96 | |
| | characters | |
531 | WARNING | [ ] Line exceeds 80 characters; contains 105 | |
| | characters | |
533 | WARNING | [ ] Line exceeds 80 characters; contains 169 | |
| | characters | |
542 | WARNING | [ ] Line exceeds 80 characters; contains 194 | |
| | characters | |
569 | WARNING | [ ] Line exceeds 80 characters; contains 198 | |
| | characters | |
595 | WARNING | [ ] Line exceeds 80 characters; contains 216 | |
| | characters | |
632 | WARNING | [ ] Line exceeds 80 characters; contains 108 | |
| | characters | |
692 | WARNING | [ ] Line exceeds 80 characters; contains 82 | |
| | characters | |
760 | WARNING | [ ] Line exceeds 80 characters; contains 112 | |
| | characters | |
844 | WARNING | [ ] Line exceeds 80 characters; contains 81 | |
| | characters | |
883 | WARNING | [ ] Line exceeds 80 characters; contains 112 | |
| | characters | |
885 | WARNING | [ ] Line exceeds 80 characters; contains 176 | |
| | characters | |
888 | WARNING | [ ] Line exceeds 80 characters; contains 81 | |
| | characters | |
897 | WARNING | [ ] Line exceeds 80 characters; contains 113 | |
| | characters | |
938 | WARNING | [ ] Line exceeds 80 characters; contains 93 | |
| | characters | |
947 | WARNING | [ ] Line exceeds 80 characters; contains 96 | |
| | characters | |
947 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
947 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
950 | WARNING | [ ] Line exceeds 80 characters; contains 90 | |
| | characters | |
1013 | WARNING | [ ] Line exceeds 80 characters; contains 96 | |
| | characters | |
1039 | WARNING | [ ] Line exceeds 80 characters; contains 88 | |
| | characters | |
1071 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() | |
| | argument and you should use placeholders | |
1072 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() | |
| | argument and you should use placeholders | |
1075 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() | |
| | argument and you should use placeholders | |
1145 | WARNING | [ ] Unused variable $counter. | |
1199 | WARNING | [ ] Line exceeds 80 characters; contains 95 | |
| | characters | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/inner_poll/inner_poll.install | |
---------------------------------------------------------------------- | |
FOUND 5 ERRORS AND 10 WARNINGS AFFECTING 12 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [ ] Missing short description in doc comment | |
4 | ERROR | [x] The second line in the file doc comment must be | |
| | "@file" | |
12 | WARNING | [ ] Line exceeds 80 characters; contains 152 | |
| | characters | |
12 | ERROR | [x] Doc comment short description must start with a | |
| | capital letter | |
15 | WARNING | [ ] Line exceeds 80 characters; contains 89 | |
| | characters | |
16 | WARNING | [ ] Line exceeds 80 characters; contains 256 | |
| | characters | |
16 | ERROR | [ ] Doc comment short description must be on a single | |
| | line, further text should be a separate paragraph | |
18 | WARNING | [ ] Line exceeds 80 characters; contains 104 | |
| | characters | |
18 | ERROR | [x] Doc comment long description must start with a | |
| | capital letter | |
20 | WARNING | [ ] Line exceeds 80 characters; contains 91 | |
| | characters | |
21 | WARNING | [ ] Line exceeds 80 characters; contains 98 | |
| | characters | |
22 | WARNING | [ ] Line exceeds 80 characters; contains 134 | |
| | characters | |
26 | WARNING | [ ] Line exceeds 80 characters; contains 100 | |
| | characters | |
28 | WARNING | [ ] Line exceeds 80 characters; contains 119 | |
| | characters | |
29 | WARNING | [ ] Line exceeds 80 characters; contains 145 | |
| | characters | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/inner_poll/inner_poll.info | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 2 LINES | |
---------------------------------------------------------------------- | |
1 | WARNING | [ ] Remove "project" from the info file, it will be | |
| | added by drupal.org packaging automatically | |
1 | WARNING | [ ] Remove "version" from the info file, it will be | |
| | added by drupal.org packaging automatically | |
11 | ERROR | [x] Expected 1 newline at end of file; 0 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tickets/dru_tickets.moderate.inc | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tickets/dru_tickets.pages.inc | |
---------------------------------------------------------------------- | |
FOUND 25 ERRORS AND 2 WARNINGS AFFECTING 27 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [ ] Missing short description in doc comment | |
8 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
11 | ERROR | [x] Whitespace found at end of line | |
12 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
21 | ERROR | [x] Whitespace found at end of line | |
22 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
31 | ERROR | [x] Whitespace found at end of line | |
32 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
36 | ERROR | [x] Whitespace found at end of line | |
37 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
52 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 18 | |
73 | ERROR | [x] Equals sign not aligned with surrounding | |
| | assignments; expected 1 space but found 2 spaces | |
86 | ERROR | [x] Whitespace found at end of line | |
93 | ERROR | [x] Whitespace found at end of line | |
100 | ERROR | [x] Whitespace found at end of line | |
105 | ERROR | [x] Whitespace found at end of line | |
111 | ERROR | [x] Whitespace found at end of line | |
129 | ERROR | [x] Whitespace found at end of line | |
130 | ERROR | [x] Whitespace found at end of line | |
132 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 10 | |
139 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
153 | WARNING | [ ] Unused variable $ticket. | |
175 | ERROR | [x] Whitespace found at end of line | |
190 | ERROR | [x] Equals sign not aligned with surrounding | |
| | assignments; expected 1 space but found 2 spaces | |
259 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() argument | |
| | and you should use placeholders | |
266 | ERROR | [x] Whitespace found at end of line | |
284 | ERROR | [x] Equals sign not aligned with surrounding | |
| | assignments; expected 1 space but found 2 spaces | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tickets/dru_tickets.install | |
---------------------------------------------------------------------- | |
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
2 | ERROR | [ ] Missing short description in doc comment | |
4 | ERROR | [x] There must be exactly one blank line after the | |
| | file comment | |
10 | ERROR | [x] Expected 1 blank line before function; 2 found | |
42 | WARNING | [ ] Unused variable $tid. | |
49 | ERROR | [ ] Do not use t() or st() in installation phase | |
| | hooks, use $t = get_t() to retrieve the | |
| | appropriate localization function name | |
133 | ERROR | [x] Expected 1 blank line after function; 2 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tickets/dru_tickets.module | |
---------------------------------------------------------------------- | |
FOUND 9 ERRORS AND 14 WARNINGS AFFECTING 21 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [ ] Missing short description in doc comment | |
93 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
122 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
134 | WARNING | [ ] Are you accessing field values here? Then you | |
| | should use LANGUAGE_NONE instead of 'und' | |
138 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() argument | |
| | and you should use placeholders | |
141 | WARNING | [ ] Are you accessing field values here? Then you | |
| | should use LANGUAGE_NONE instead of 'und' | |
145 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() argument | |
| | and you should use placeholders | |
159 | ERROR | [ ] No key specified for array entry; first entry | |
| | specifies key | |
165 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
179 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
195 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() argument | |
| | and you should use placeholders | |
210 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() argument | |
| | and you should use placeholders | |
274 | ERROR | [ ] String concat is not required here; use a single | |
| | string instead | |
316 | ERROR | [x] Parameter comment must be on the next line | |
318 | ERROR | [ ] Description for the @return value is missing | |
328 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
348 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
348 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
361 | WARNING | [ ] Do not use drupal_add_css() in hook_init(), use | |
| | #attached for CSS and JS in your page/form | |
| | callback or in hook_page_build() instead | |
382 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found | |
384 | WARNING | [ ] Line exceeds 80 characters; contains 108 | |
| | characters | |
384 | ERROR | [x] Inline comments must start with a capital letter | |
385 | ERROR | [x] Comments may not appear after statements | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tickets/dru_tickets.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tickets/dru_claim/dru_claim.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tickets/dru_claim/dru_claim.module | |
---------------------------------------------------------------------- | |
FOUND 6 ERRORS AND 29 WARNINGS AFFECTING 34 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [ ] Missing short description in doc comment | |
62 | ERROR | [x] Doc comment short description must start with a | |
| | capital letter | |
100 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() argument | |
| | and you should use placeholders | |
121 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() argument | |
| | and you should use placeholders | |
129 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() argument | |
| | and you should use placeholders | |
177 | WARNING | [ ] Are you accessing field values here? Then you | |
| | should use LANGUAGE_NONE instead of 'und' | |
180 | WARNING | [ ] Are you accessing field values here? Then you | |
| | should use LANGUAGE_NONE instead of 'und' | |
182 | WARNING | [ ] Are you accessing field values here? Then you | |
| | should use LANGUAGE_NONE instead of 'und' | |
188 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
191 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
191 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
193 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: '</span>' | |
197 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
204 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
205 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
210 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
213 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: $ticket_icon | |
216 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: $ticket_body | |
222 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
225 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: '<i class="fa | |
| | fa-exclamation-triangle"></i>' | |
228 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: name | |
234 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
240 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
243 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: '<i class="fa fa-calendar"></i>' | |
246 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ) | |
251 | WARNING | [ ] Line exceeds 80 characters; contains 84 | |
| | characters | |
254 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
257 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: '<i class="fa fa-eye"></i>' | |
266 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
267 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ) | |
274 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
277 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: '<i class="fa fa-user"></i>' | |
286 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
287 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ) | |
288 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 27 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tickets/dru_claim/dru_claim.css | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
45 | ERROR | Class definition is empty | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tickets/dru_claim/dru_claim.install | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | Missing short description in doc comment | |
84 | WARNING | Unused variable $tid. | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tickets/dru_claim/dru_claim.pages.inc | |
---------------------------------------------------------------------- | |
FOUND 9 ERRORS AFFECTING 7 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [ ] Missing short description in doc comment | |
196 | ERROR | [ ] Missing parameter comment | |
196 | ERROR | [ ] Missing parameter type | |
197 | ERROR | [ ] Missing parameter comment | |
197 | ERROR | [ ] Missing parameter type | |
199 | ERROR | [ ] Description for the @return value is missing | |
208 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
209 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
215 | ERROR | [x] Expected 1 newline at end of file; 0 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/marketplace/templates/node--organization--block.tpl.php | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/marketplace/templates/marketplace--blocklist.tpl.php | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/marketplace/marketplace.install | |
---------------------------------------------------------------------- | |
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
5 | ERROR | [x] There must be exactly one blank line after the | |
| | file comment | |
11 | ERROR | [x] Expected 1 blank line before function; 2 found | |
15 | ERROR | [ ] Do not use t() or st() in installation phase | |
| | hooks, use $t = get_t() to retrieve the | |
| | appropriate localization function name | |
83 | WARNING | [ ] Unused variable $t. | |
148 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
151 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/marketplace/marketplace.module | |
---------------------------------------------------------------------- | |
FOUND 17 ERRORS AND 11 WARNINGS AFFECTING 27 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
5 | ERROR | [x] There must be exactly one blank line after the | |
| | file comment | |
11 | ERROR | [x] Expected 1 blank line before function; 2 found | |
70 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
73 | ERROR | [x] 2 spaces found before inline comment; expected | |
| | "// drupal_set_message('<pre>' . | |
| | print_r($variables, true) . '</pre>');" but | |
| | found "// drupal_set_message('<pre>' . | |
| | print_r($variables, true) . '</pre>');" | |
73 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
108 | WARNING | [ ] All variables defined by your module must be | |
| | prefixed with your module's name to avoid name | |
| | collisions with others. Expected start with | |
| | "marketplace" but found | |
| | "organizations_block_count" | |
109 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
123 | ERROR | [x] Expected 1 blank line after function; 2 found | |
148 | ERROR | [ ] Doc comment is empty | |
157 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
165 | WARNING | [ ] Translatable strings must not begin or end with | |
| | white spaces, use placeholders with t() for | |
| | variables | |
199 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
200 | ERROR | [x] There must be no blank lines after the function | |
| | comment | |
219 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
220 | ERROR | [x] There must be no blank lines after the function | |
| | comment | |
237 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
259 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
260 | ERROR | [x] There must be no blank lines after the function | |
| | comment | |
284 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: vid | |
295 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
296 | ERROR | [x] There must be no blank lines after the function | |
| | comment | |
318 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
322 | ERROR | [x] The first index in a multi-value array must be | |
| | on a new line | |
325 | ERROR | [x] Closing parenthesis of array declaration must be | |
| | on a new line | |
329 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "NULL" but found "null" | |
339 | WARNING | [ ] Line exceeds 80 characters; contains 92 | |
| | characters | |
344 | ERROR | [ ] Doc comment short description must be on a | |
| | single line, further text should be a separate | |
| | paragraph | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/user_filter/user_filter_popup/user_filter_popup.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/user_filter/user_filter_popup/user_filter_popup.page.inc | |
---------------------------------------------------------------------- | |
FOUND 4 ERRORS AFFECTING 4 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
2 | ERROR | [ ] Missing short description in doc comment | |
4 | ERROR | [x] There must be exactly one blank line after the file | |
| | comment | |
10 | ERROR | [x] Expected 1 blank line before function; 2 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/user_filter/user_filter_popup/user_filter_popup.module | |
---------------------------------------------------------------------- | |
FOUND 3 ERRORS AND 5 WARNINGS AFFECTING 8 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | Missing short description in doc comment | |
8 | WARNING | Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.html.twig.", "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* | |
| | Implements hook_foo_BAR_ID_bar() for block | |
| | templates." | |
36 | WARNING | Unused global variable $user. | |
43 | WARNING | Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.html.twig.", "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* | |
| | Implements hook_foo_BAR_ID_bar() for block | |
| | templates." | |
44 | ERROR | Doc comment short description must be on a single | |
| | line, further text should be a separate paragraph | |
47 | WARNING | Do not use drupal_add_css() in hook_init(), use | |
| | #attached for CSS and JS in your page/form callback | |
| | or in hook_page_build() instead | |
48 | WARNING | Do not use drupal_add_js() in hook_init(), use | |
| | #attached for CSS and JS in your page/form callback | |
| | or in hook_page_build() instead | |
51 | ERROR | Doc comment is empty | |
---------------------------------------------------------------------- | |
FILE: /work/user_filter/user_filter.info | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
6 | ERROR | Declared file was not found | |
---------------------------------------------------------------------- | |
FILE: /work/user_filter/user_filter_notify/user_filter_notify.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/user_filter/user_filter_notify/user_filter_notify.install | |
---------------------------------------------------------------------- | |
FOUND 3 ERRORS AFFECTING 3 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | Missing short description in doc comment | |
11 | ERROR | Do not use t() or st() in installation phase hooks, use | |
| | $t = get_t() to retrieve the appropriate localization | |
| | function name | |
21 | ERROR | Do not use t() or st() in installation phase hooks, use | |
| | $t = get_t() to retrieve the appropriate localization | |
| | function name | |
---------------------------------------------------------------------- | |
FILE: /work/user_filter/user_filter_notify/user_filter_notify.module | |
---------------------------------------------------------------------- | |
FOUND 8 ERRORS AND 7 WARNINGS AFFECTING 15 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [ ] Missing short description in doc comment | |
105 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
156 | ERROR | [ ] Doc comment is empty | |
163 | ERROR | [ ] Doc comment is empty | |
176 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
183 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
195 | WARNING | [ ] Are you accessing field values here? Then you | |
| | should use LANGUAGE_NONE instead of 'und' | |
196 | WARNING | [ ] Are you accessing field values here? Then you | |
| | should use LANGUAGE_NONE instead of 'und' | |
201 | WARNING | [ ] Are you accessing field values here? Then you | |
| | should use LANGUAGE_NONE instead of 'und' | |
202 | WARNING | [ ] Are you accessing field values here? Then you | |
| | should use LANGUAGE_NONE instead of 'und' | |
210 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
211 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
214 | ERROR | [x] Array indentation error, expected 10 spaces but | |
| | found 8 | |
217 | ERROR | [ ] No key specified for array entry; first entry | |
| | specifies key | |
224 | ERROR | [ ] Doc comment is empty | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/user_filter/README.md | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES | |
---------------------------------------------------------------------- | |
7 | WARNING | Line exceeds 80 characters; contains 106 characters | |
9 | WARNING | Line exceeds 80 characters; contains 97 characters | |
14 | WARNING | Line exceeds 80 characters; contains 140 characters | |
17 | WARNING | Line exceeds 80 characters; contains 168 characters | |
19 | WARNING | Line exceeds 80 characters; contains 83 characters | |
26 | WARNING | Line exceeds 80 characters; contains 94 characters | |
28 | WARNING | Line exceeds 80 characters; contains 120 characters | |
30 | WARNING | Line exceeds 80 characters; contains 132 characters | |
---------------------------------------------------------------------- | |
FILE: /work/user_filter/user_filter.module | |
---------------------------------------------------------------------- | |
FOUND 22 ERRORS AFFECTING 19 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
2 | ERROR | [ ] Missing short description in doc comment | |
4 | ERROR | [x] There must be exactly one blank line after the file | |
| | comment | |
10 | ERROR | [x] Expected 1 blank line before function; 2 found | |
24 | ERROR | [ ] Missing parameter comment | |
26 | ERROR | [ ] Description for the @return value is missing | |
38 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
42 | ERROR | [x] Array closing indentation error, expected 6 spaces | |
| | but found 8 | |
54 | ERROR | [ ] Missing parameter comment | |
54 | ERROR | [x] Expected 1 spaces after parameter type; 2 found | |
55 | ERROR | [x] Expected 1 spaces after parameter type; 2 found | |
55 | ERROR | [x] Parameter comment must be on the next line | |
56 | ERROR | [x] Parameter comment must be on the next line | |
58 | ERROR | [ ] Description for the @return value is missing | |
60 | ERROR | [ ] Type hint "array" missing for $patterns | |
60 | ERROR | [ ] Type hint "array" missing for $replacements | |
67 | ERROR | [ ] Missing parameter comment | |
69 | ERROR | [ ] Description for the @return value is missing | |
80 | ERROR | [x] Inline control structures are not allowed | |
94 | ERROR | [x] Parameter comment must be on the next line | |
96 | ERROR | [ ] Description for the @return value is missing | |
98 | ERROR | [ ] Type hint "array" missing for $matches | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_moderation/dru_moderation.install | |
---------------------------------------------------------------------- | |
FOUND 3 ERRORS AFFECTING 3 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
2 | ERROR | [ ] Missing short description in doc comment | |
54 | ERROR | [x] Expected 1 newline at end of file; 2 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_moderation/dru_moderation.module | |
---------------------------------------------------------------------- | |
FOUND 21 ERRORS AND 1 WARNING AFFECTING 19 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [ ] Missing short description in doc comment | |
38 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
48 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
49 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
52 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
63 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
65 | ERROR | [x] Inline comments must start with a capital letter | |
65 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
69 | ERROR | [x] There should be no white space after an opening | |
| | "[" | |
69 | ERROR | [x] There should be no white space before a closing | |
| | "]" | |
96 | ERROR | [x] Expected 1 space after SWITCH keyword; 0 found | |
97 | ERROR | [x] Whitespace found at end of line | |
102 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: $reason | |
104 | ERROR | [x] Case breaking statements must be followed by a | |
| | single blank line | |
105 | ERROR | [x] Whitespace found at end of line | |
113 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
118 | ERROR | [x] Expected 1 space between comma and "'body'"; 0 | |
| | found | |
118 | ERROR | [x] Expected one space after the comma, 0 found | |
137 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
144 | ERROR | [x] Whitespace found at end of line | |
147 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
157 | ERROR | [x] Expected 1 newline at end of file; 2 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 21 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_moderation/dru_moderation.info | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES | |
---------------------------------------------------------------------- | |
1 | WARNING | [ ] Remove "version" from the info file, it will be | |
| | added by drupal.org packaging automatically | |
8 | ERROR | [x] Expected 1 newline at end of file; 2 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_moderation/dru_moderation.pages.inc | |
---------------------------------------------------------------------- | |
FOUND 17 ERRORS AND 2 WARNINGS AFFECTING 19 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
20 | ERROR | [x] Equals sign not aligned with surrounding | |
| | assignments; expected 1 space but found 2 spaces | |
39 | ERROR | [x] Doc comment short description must start with a | |
| | capital letter | |
46 | ERROR | [x] Whitespace found at end of line | |
67 | WARNING | [ ] Line exceeds 80 characters; contains 88 | |
| | characters | |
68 | ERROR | [x] Line indented incorrectly; expected 0 spaces, | |
| | found 2 | |
93 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
95 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
97 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
99 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
101 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
103 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
105 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
107 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
110 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
121 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
127 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
129 | WARNING | [ ] Unused variable $moder. | |
132 | ERROR | [x] Expected 1 newline at end of file; 2 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tnx/dru_tnx.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tnx/includes/dru_tnx.pages.inc | |
---------------------------------------------------------------------- | |
FOUND 13 ERRORS AFFECTING 12 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
4 | ERROR | [x] Doc comment short description must end with a full | |
| | stop | |
6 | ERROR | [ ] Missing parameter comment | |
7 | ERROR | [ ] Missing parameter comment | |
8 | ERROR | [ ] Missing parameter comment | |
9 | ERROR | [ ] Missing parameter comment | |
10 | ERROR | [ ] Missing parameter comment | |
12 | ERROR | [ ] Description for the @return value is missing | |
45 | ERROR | [x] Doc comment short description must start with a | |
| | capital letter | |
45 | ERROR | [x] Doc comment short description must end with a full | |
| | stop | |
76 | ERROR | [ ] Missing parameter comment | |
78 | ERROR | [ ] Description for the @return value is missing | |
80 | ERROR | [ ] Type hint "array" missing for $vars | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tnx/includes/dru_tnx.crud.inc | |
---------------------------------------------------------------------- | |
FOUND 38 ERRORS AND 1 WARNING AFFECTING 30 LINES | |
---------------------------------------------------------------------- | |
5 | ERROR | [x] Function comment short description must start | |
| | with exactly one space | |
5 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
11 | ERROR | [x] Doc comment long description must end with a | |
| | full stop | |
38 | ERROR | [x] Parameter comment must be on the next line | |
39 | ERROR | [x] Expected 1 spaces after parameter type; 4 found | |
39 | ERROR | [x] Parameter comment must be on the next line | |
40 | ERROR | [x] Expected 1 spaces after parameter type; 4 found | |
40 | ERROR | [x] Parameter comment must be on the next line | |
42 | ERROR | [ ] Description for the @return value is missing | |
57 | ERROR | [ ] Missing parameter comment | |
59 | ERROR | [ ] Description for the @return value is missing | |
61 | ERROR | [ ] Type hint "array" missing for $vars | |
73 | ERROR | [ ] Missing parameter comment | |
74 | ERROR | [ ] Missing parameter comment | |
74 | ERROR | [x] Expected 1 spaces after parameter type; 3 found | |
76 | ERROR | [ ] Description for the @return value is missing | |
78 | ERROR | [ ] Type hint "array" missing for $vars | |
90 | ERROR | [ ] Missing parameter comment | |
91 | ERROR | [ ] Missing parameter comment | |
91 | ERROR | [x] Expected 1 spaces after parameter type; 3 found | |
93 | ERROR | [ ] Description for the @return value is missing | |
95 | ERROR | [ ] Type hint "array" missing for $vars | |
107 | ERROR | [ ] Missing parameter comment | |
109 | ERROR | [ ] Description for the @return value is missing | |
111 | ERROR | [ ] Type hint "array" missing for $vars | |
120 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
124 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
130 | ERROR | [x] Comments may not appear after statements | |
131 | ERROR | [x] Comments may not appear after statements | |
132 | ERROR | [x] Comments may not appear after statements | |
132 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
137 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
137 | ERROR | [x] Comments may not appear after statements | |
137 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
140 | ERROR | [x] Comments may not appear after statements | |
141 | ERROR | [x] Comments may not appear after statements | |
141 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
145 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
148 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 8 | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 23 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tnx/dru_tnx.module | |
---------------------------------------------------------------------- | |
FOUND 33 ERRORS AND 2 WARNINGS AFFECTING 33 LINES | |
---------------------------------------------------------------------- | |
5 | ERROR | [x] Function comment short description must start | |
| | with exactly one space | |
5 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
46 | ERROR | [x] Array indentation error, expected 4 spaces but | |
| | found 6 | |
47 | ERROR | [x] Array indentation error, expected 4 spaces but | |
| | found 6 | |
48 | ERROR | [x] Array closing indentation error, expected 2 | |
| | spaces but found 4 | |
60 | ERROR | [x] Array indentation error, expected 4 spaces but | |
| | found 6 | |
61 | ERROR | [x] Array indentation error, expected 4 spaces but | |
| | found 6 | |
62 | ERROR | [x] Array closing indentation error, expected 2 | |
| | spaces but found 4 | |
67 | ERROR | [x] Array indentation error, expected 4 spaces but | |
| | found 6 | |
68 | ERROR | [x] Array indentation error, expected 4 spaces but | |
| | found 6 | |
69 | ERROR | [x] Array closing indentation error, expected 2 | |
| | spaces but found 4 | |
74 | ERROR | [x] Array indentation error, expected 4 spaces but | |
| | found 6 | |
75 | ERROR | [x] Array indentation error, expected 4 spaces but | |
| | found 6 | |
76 | ERROR | [x] Array closing indentation error, expected 2 | |
| | spaces but found 4 | |
88 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
135 | ERROR | [ ] Missing parameter comment | |
136 | ERROR | [ ] Missing parameter comment | |
138 | ERROR | [ ] Description for the @return value is missing | |
166 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: $count | |
177 | ERROR | [ ] Description for the @return value is missing | |
180 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
210 | ERROR | [ ] Missing parameter comment | |
211 | ERROR | [ ] Missing parameter comment | |
212 | ERROR | [ ] Missing parameter comment | |
212 | ERROR | [x] Expected 1 spaces after parameter type; 3 found | |
214 | ERROR | [ ] Description for the @return value is missing | |
244 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
266 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
293 | WARNING | [ ] Do not use drupal_add_css() in hook_init(), use | |
| | #attached for CSS and JS in your page/form | |
| | callback or in hook_page_build() instead | |
294 | ERROR | [x] Expected 1 blank line after function; 2 found | |
332 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
340 | ERROR | [x] Parameter comment must be on the next line | |
342 | ERROR | [ ] Description for the @return value is missing | |
353 | ERROR | [x] Parameter comment must be on the next line | |
355 | ERROR | [ ] Description for the @return value is missing | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_tnx/dru_tnx.install | |
---------------------------------------------------------------------- | |
FOUND 25 ERRORS AND 2 WARNINGS AFFECTING 27 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
8 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
40 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
141 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
151 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
153 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
177 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
179 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
187 | WARNING | [ ] Do not use DELETE queries with db_query(), use | |
| | db_delete() instead | |
189 | ERROR | [x] Expected newline after closing brace | |
205 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
207 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
215 | ERROR | [x] Expected newline after closing brace | |
223 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
225 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
233 | ERROR | [x] Expected newline after closing brace | |
241 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
243 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
245 | WARNING | [ ] Unused variable $id. | |
262 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
264 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
283 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
285 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
321 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
323 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
352 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
354 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 25 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_slack/templates/badge.tpl.php | |
---------------------------------------------------------------------- | |
FOUND 3 ERRORS AFFECTING 3 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [x] Short PHP opening tag used with echo; expected | |
| | "<?php echo $width ..." but found "<?= $width ..." | |
4 | ERROR | [x] Short PHP opening tag used with echo; expected | |
| | "<?php echo $height ..." but found "<?= $height | |
| | ..." | |
16 | ERROR | [x] Short PHP opening tag used with echo; expected | |
| | "<?php echo $counter ..." but found "<?= $counter | |
| | ..." | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_slack/includes/dru_slack.admin.inc | |
---------------------------------------------------------------------- | |
FOUND 37 ERRORS AND 5 WARNINGS AFFECTING 33 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
4 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
16 | ERROR | [x] Expected newline after closing brace | |
26 | WARNING | [ ] All variables defined by your module must be | |
| | prefixed with your module's name to avoid name | |
| | collisions with others. Expected start with | |
| | "dru_slack" but found "slack_team_hostname" | |
33 | WARNING | [ ] All variables defined by your module must be | |
| | prefixed with your module's name to avoid name | |
| | collisions with others. Expected start with | |
| | "dru_slack" but found "slack_token" | |
40 | WARNING | [ ] All variables defined by your module must be | |
| | prefixed with your module's name to avoid name | |
| | collisions with others. Expected start with | |
| | "dru_slack" but found "slack_approved_users" | |
63 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
65 | ERROR | [ ] Missing parameter type | |
67 | ERROR | [ ] Missing parameter type | |
69 | ERROR | [ ] Missing parameter type | |
70 | WARNING | [ ] Line exceeds 80 characters; contains 87 | |
| | characters | |
115 | ERROR | [x] Expected 1 blank line after function; 2 found | |
119 | WARNING | [ ] Line exceeds 80 characters; contains 132 | |
| | characters | |
119 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
121 | ERROR | [ ] Missing parameter type | |
124 | ERROR | [x] Parameter comment must end with a full stop | |
126 | ERROR | [ ] Description for the @return value is missing | |
140 | ERROR | [x] Expected 1 blank line after function; 2 found | |
144 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
146 | ERROR | [ ] Missing parameter comment | |
146 | ERROR | [ ] Missing parameter type | |
147 | ERROR | [ ] Missing parameter comment | |
147 | ERROR | [ ] Missing parameter type | |
149 | ERROR | [ ] Description for the @return value is missing | |
157 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
159 | ERROR | [ ] Missing parameter comment | |
159 | ERROR | [ ] Missing parameter type | |
160 | ERROR | [ ] Missing parameter comment | |
160 | ERROR | [ ] Missing parameter type | |
162 | ERROR | [ ] Description for the @return value is missing | |
175 | ERROR | [x] Expected 1 blank line after function; 2 found | |
179 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
181 | ERROR | [ ] Missing parameter comment | |
181 | ERROR | [ ] Missing parameter type | |
182 | ERROR | [ ] Missing parameter comment | |
182 | ERROR | [ ] Missing parameter type | |
184 | ERROR | [ ] Description for the @return value is missing | |
201 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
203 | ERROR | [ ] Missing parameter comment | |
203 | ERROR | [ ] Missing parameter type | |
204 | ERROR | [ ] Missing parameter comment | |
204 | ERROR | [ ] Missing parameter type | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_slack/includes/dru_slack.help.inc | |
---------------------------------------------------------------------- | |
FOUND 7 ERRORS AFFECTING 4 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
22 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
22 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
62 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
62 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
98 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
98 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_slack/includes/slackAPI.php.inc | |
---------------------------------------------------------------------- | |
FOUND 55 ERRORS AND 8 WARNINGS AFFECTING 54 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
6 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
6 | ERROR | [ ] Doc comment short description must be on a | |
| | single line, further text should be a separate | |
| | paragraph | |
15 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
15 | ERROR | [ ] Doc comment short description must be on a | |
| | single line, further text should be a separate | |
| | paragraph | |
17 | ERROR | [ ] Class name must begin with a capital letter | |
17 | WARNING | [ ] Class name must be prefixed with the project | |
| | name "DruSlack" | |
23 | ERROR | [x] Missing function doc comment | |
29 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
31 | ERROR | [ ] Missing parameter type | |
33 | ERROR | [ ] Missing parameter type | |
39 | ERROR | [ ] Public method name "slackAPI::notificate_by_url" | |
| | is not in lowerCamel format | |
54 | WARNING | [ ] Line exceeds 80 characters; contains 84 | |
| | characters | |
54 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
56 | ERROR | [ ] Missing parameter type | |
58 | ERROR | [ ] Missing parameter type | |
61 | ERROR | [ ] Description for the @return value is missing | |
63 | ERROR | [ ] Public method name | |
| | "slackAPI::notificate_by_chanel" is not in | |
| | lowerCamel format | |
67 | ERROR | [x] Expected newline after closing brace | |
73 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
75 | ERROR | [ ] Missing parameter type | |
78 | ERROR | [ ] Description for the @return value is missing | |
130 | ERROR | [x] Expected 1 blank line after function; 2 found | |
134 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
136 | ERROR | [ ] Description for the @return value is missing | |
142 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
145 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
145 | ERROR | [x] Concat operator must be surrounded by a single | |
| | space | |
165 | WARNING | [ ] Line exceeds 80 characters; contains 111 | |
| | characters | |
166 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
166 | ERROR | [ ] Doc comment short description must be on a | |
| | single line, further text should be a separate | |
| | paragraph | |
168 | ERROR | [ ] Missing parameter type | |
170 | ERROR | [ ] Missing parameter type | |
171 | WARNING | [ ] Line exceeds 80 characters; contains 83 | |
| | characters | |
194 | WARNING | [ ] Line exceeds 80 characters; contains 119 | |
| | characters | |
194 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
196 | ERROR | [x] Doc comment long description must start with a | |
| | capital letter | |
197 | WARNING | [ ] Line exceeds 80 characters; contains 95 | |
| | characters | |
201 | WARNING | [ ] Line exceeds 80 characters; contains 141 | |
| | characters | |
203 | ERROR | [x] Doc comment star missing | |
204 | ERROR | [x] Additional blank lines found at end of doc | |
| | comment | |
204 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found | |
204 | ERROR | [x] There must be no blank lines after the function | |
| | comment | |
206 | ERROR | [ ] Public method name "slackAPI::invite_user" is | |
| | not in lowerCamel format | |
209 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ] | |
213 | ERROR | [x] Expected newline after closing brace | |
214 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 8 | |
215 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 8 | |
216 | ERROR | [x] Line indented incorrectly; expected 8 spaces, | |
| | found 10 | |
217 | ERROR | [x] Line indented incorrectly; expected 10 spaces, | |
| | found 12 | |
218 | ERROR | [x] Case breaking statements must be followed by a | |
| | single blank line | |
219 | ERROR | [x] Line indented incorrectly; expected 8 spaces, | |
| | found 10 | |
220 | ERROR | [x] Line indented incorrectly; expected 10 spaces, | |
| | found 12 | |
221 | ERROR | [x] Case breaking statements must be followed by a | |
| | single blank line | |
222 | ERROR | [x] Line indented incorrectly; expected 8 spaces, | |
| | found 10 | |
223 | ERROR | [x] Line indented incorrectly; expected 10 spaces, | |
| | found 12 | |
225 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 8 | |
226 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 8 | |
227 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 8 | |
228 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 8 | |
229 | ERROR | [x] Expected newline after closing brace | |
233 | ERROR | [x] Expected 1 blank line after function; 0 found | |
234 | ERROR | [x] The closing brace for the class must have an | |
| | empty line before it | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 39 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_slack/dru_slack.info | |
---------------------------------------------------------------------- | |
FOUND 2 ERRORS AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
7 | ERROR | [ ] Declared file was not found | |
7 | ERROR | [x] Expected 1 newline at end of file; 0 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_slack/dru_slack.module | |
---------------------------------------------------------------------- | |
FOUND 11 ERRORS AND 1 WARNING AFFECTING 10 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
12 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
14 | ERROR | [ ] Do not use t() in hook_menu() | |
22 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
31 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
44 | WARNING | [ ] Line exceeds 80 characters; contains 86 | |
| | characters | |
44 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
46 | ERROR | [ ] Missing parameter type | |
74 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
76 | ERROR | [ ] Missing parameter type | |
80 | ERROR | [x] Expected 1 space before "*"; 0 found | |
80 | ERROR | [x] Expected 1 space after "*"; 0 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_frontpage/dru_frontpage.admin.inc | |
---------------------------------------------------------------------- | |
FOUND 3 ERRORS AFFECTING 3 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
6 | ERROR | [x] Whitespace found at end of line | |
7 | ERROR | [x] Missing function doc comment | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_frontpage/templates/frontpage--list.tpl.php | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_frontpage/dru_frontpage.info | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES | |
---------------------------------------------------------------------- | |
1 | WARNING | [ ] Remove "version" from the info file, it will be | |
| | added by drupal.org packaging automatically | |
7 | ERROR | [x] Expected 1 newline at end of file; 3 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_frontpage/dru_frontpage.module | |
---------------------------------------------------------------------- | |
FOUND 18 ERRORS AND 2 WARNINGS AFFECTING 12 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
64 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
78 | ERROR | [x] Expected 1 space after IF keyword; 0 found | |
78 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
81 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
81 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
82 | ERROR | [x] Expected 1 space after IF keyword; 0 found | |
82 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
86 | ERROR | [x] Expected 1 space after IF keyword; 0 found | |
86 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
104 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
104 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
108 | ERROR | [x] Expected 1 space after IF keyword; 0 found | |
108 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
109 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
110 | ERROR | [x] Expected newline after closing brace | |
110 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found | |
137 | ERROR | [x] Expected newline after closing brace | |
137 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found | |
144 | WARNING | [ ] Unused variable $build. | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_comments/dru_comments.module | |
---------------------------------------------------------------------- | |
FOUND 7 ERRORS AFFECTING 5 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
26 | ERROR | [ ] Missing parameter comment | |
26 | ERROR | [ ] Missing parameter type | |
27 | ERROR | [ ] Missing parameter comment | |
27 | ERROR | [ ] Missing parameter type | |
29 | ERROR | [ ] Description for the @return value is missing | |
57 | ERROR | [ ] The $text argument to l() should be enclosed within | |
| | t() so that it is translatable | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_comments/dru_comments.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: ...advanced_sphinx/templates/advanced_sphinx_result_wrapper.tpl.php | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
25 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() argument | |
| | and you should use placeholders | |
36 | WARNING | [ ] Do not concatenate strings to translatable | |
| | strings, they should be part of the t() argument | |
| | and you should use placeholders | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...anced_sphinx/templates/advanced_sphinx_items_result_main.tpl.php | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...rk/advanced_sphinx/templates/advanced_sphinx_base_sphinx.tpl.php | |
---------------------------------------------------------------------- | |
FOUND 21 ERRORS AFFECTING 21 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
32 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
33 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
34 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
35 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
36 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
37 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
38 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
39 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
44 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
45 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
50 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
56 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
57 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
58 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
59 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
60 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
61 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
62 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
63 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
64 | ERROR | [x] Spaces must be used to indent lines; tabs are not | |
| | allowed | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 21 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/advanced_sphinx/advanced_sphinx.install | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/advanced_sphinx/advanced_sphinx.admin.inc | |
---------------------------------------------------------------------- | |
FOUND 12 ERRORS AFFECTING 12 LINES | |
---------------------------------------------------------------------- | |
265 | ERROR | [x] Array indentation error, expected 6 spaces but | |
| | found 8 | |
270 | ERROR | [x] Array closing indentation error, expected 4 spaces | |
| | but found 6 | |
291 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
292 | ERROR | [x] Array closing indentation error, expected 6 spaces | |
| | but found 8 | |
306 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
315 | ERROR | [x] Array closing indentation error, expected 6 spaces | |
| | but found 8 | |
322 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
323 | ERROR | [x] Array closing indentation error, expected 6 spaces | |
| | but found 8 | |
343 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
344 | ERROR | [x] Array closing indentation error, expected 6 spaces | |
| | but found 8 | |
348 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
353 | ERROR | [x] Array closing indentation error, expected 6 spaces | |
| | but found 8 | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/advanced_sphinx/advanced_sphinx.common.inc | |
---------------------------------------------------------------------- | |
FOUND 18 ERRORS AND 4 WARNINGS AFFECTING 17 LINES | |
---------------------------------------------------------------------- | |
25 | ERROR | [ ] Description for the @return value is missing | |
39 | WARNING | [ ] Line exceeds 80 characters; contains 83 | |
| | characters | |
41 | ERROR | [ ] Description for the @return value is missing | |
60 | ERROR | [ ] Parameter tags must be defined first in a doc | |
| | comment | |
60 | ERROR | [x] Expected "bool" but found "boolean" for | |
| | parameter type | |
63 | ERROR | [x] Expected "bool" but found "boolean" for function | |
| | return type | |
115 | ERROR | [x] Expected "bool" but found "boolean" for function | |
| | return type | |
115 | ERROR | [ ] Description for the @return value is missing | |
131 | ERROR | [ ] Type hint "array" missing for $search_options | |
165 | ERROR | [ ] Type hint "array" missing for $request_options | |
204 | ERROR | [ ] Type hint "array" missing for $search_options | |
252 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
257 | WARNING | [ ] Line exceeds 80 characters; contains 116 | |
| | characters | |
257 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
257 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
257 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
337 | ERROR | [x] Comments may not appear after statements | |
338 | ERROR | [x] Comments may not appear after statements | |
373 | ERROR | [ ] Description for the @return value is missing | |
386 | ERROR | [ ] Parameter tags must be grouped together in a doc | |
| | comment | |
389 | ERROR | [ ] Parameter tags must be grouped together in a doc | |
| | comment | |
392 | ERROR | [ ] Description for the @return value is missing | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/advanced_sphinx/advanced_sphinx.pages.inc | |
---------------------------------------------------------------------- | |
FOUND 11 ERRORS AND 1 WARNING AFFECTING 12 LINES | |
---------------------------------------------------------------------- | |
14 | ERROR | [x] There must be exactly one blank line before the | |
| | tags in a doc comment | |
53 | ERROR | [ ] Parameter tags must be grouped together in a doc | |
| | comment | |
59 | ERROR | [ ] Type hint "array" missing for $search_options | |
137 | WARNING | [ ] Variable $result_wrapper is undefined. | |
142 | ERROR | [x] Array indentation error, expected 4 spaces but | |
| | found 6 | |
143 | ERROR | [x] Array indentation error, expected 4 spaces but | |
| | found 6 | |
144 | ERROR | [x] Array closing indentation error, expected 2 | |
| | spaces but found 4 | |
151 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
152 | ERROR | [x] Array indentation error, expected 8 spaces but | |
| | found 10 | |
153 | ERROR | [x] Array closing indentation error, expected 6 | |
| | spaces but found 8 | |
170 | ERROR | [x] Missing function doc comment | |
205 | ERROR | [x] Missing function doc comment | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/advanced_sphinx/advanced_sphinx.module | |
---------------------------------------------------------------------- | |
FOUND 8 ERRORS AND 1 WARNING AFFECTING 9 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
79 | WARNING | [ ] Do not use drupal_add_css() in hook_init(), use | |
| | #attached for CSS and JS in your page/form | |
| | callback or in hook_page_build() instead | |
245 | ERROR | [x] Expected 1 blank line after function; 2 found | |
275 | ERROR | [x] Calling class constructors must always include | |
| | parentheses | |
296 | ERROR | [x] Expected 1 blank line after function; 2 found | |
312 | ERROR | [x] Expected 1 blank line after function; 2 found | |
349 | ERROR | [x] Expected 1 blank line after function; 2 found | |
354 | ERROR | [ ] Doc comment short description must be on a | |
| | single line, further text should be a separate | |
| | paragraph | |
370 | ERROR | [x] Expected 1 blank line after function; 2 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/advanced_sphinx/lib/sphinxapi.php | |
---------------------------------------------------------------------- | |
FOUND 799 ERRORS AND 114 WARNINGS AFFECTING 391 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
14 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
14 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
16 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
18 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
18 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
18 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
18 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
20 | ERROR | [x] No space found before comment text; expected | |
| | "// / known searchd commands" but found "/// | |
| | known searchd commands" | |
20 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
21 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
22 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
23 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
24 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
25 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
26 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
27 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
29 | ERROR | [x] No space found before comment text; expected | |
| | "// / current client-side command | |
| | implementation versions" but found "/// current | |
| | client-side command implementation versions" | |
29 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
30 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
31 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
32 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
33 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
34 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
35 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
36 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
38 | ERROR | [x] No space found before comment text; expected | |
| | "// / known searchd status codes" but found | |
| | "/// known searchd status codes" | |
38 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
39 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
40 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
41 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
42 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
44 | ERROR | [x] No space found before comment text; expected | |
| | "// / known match modes" but found "/// known | |
| | match modes" | |
44 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
45 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
46 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
47 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
48 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
49 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
50 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
51 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
51 | WARNING | [ ] Line exceeds 80 characters; contains 86 | |
| | characters | |
51 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
51 | ERROR | [x] Comments may not appear after statements | |
51 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
53 | ERROR | [x] No space found before comment text; expected | |
| | "// / known ranking modes (ext2 only)" but | |
| | found "/// known ranking modes (ext2 only)" | |
54 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
54 | WARNING | [ ] Line exceeds 80 characters; contains 107 | |
| | characters | |
54 | ERROR | [x] Comments may not appear after statements | |
54 | ERROR | [x] No space found before comment text; expected | |
| | "// /< default mode, phrase proximity major | |
| | factor and BM25 minor one" but found "///< | |
| | default mode, phrase proximity major factor and | |
| | BM25 minor one" | |
55 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
55 | WARNING | [ ] Line exceeds 80 characters; contains 97 | |
| | characters | |
55 | ERROR | [x] Comments may not appear after statements | |
55 | ERROR | [x] No space found before comment text; expected | |
| | "// /< statistical mode, BM25 ranking only | |
| | (faster but worse quality)" but found "///< | |
| | statistical mode, BM25 ranking only (faster but | |
| | worse quality)" | |
56 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
56 | ERROR | [x] Comments may not appear after statements | |
56 | ERROR | [x] No space found before comment text; expected | |
| | "// /< no ranking, all matches get a weight of | |
| | 1" but found "///< no ranking, all matches get | |
| | a weight of 1" | |
57 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
57 | WARNING | [ ] Line exceeds 80 characters; contains 129 | |
| | characters | |
57 | ERROR | [x] Comments may not appear after statements | |
57 | ERROR | [x] No space found before comment text; expected | |
| | "// /< simple word-count weighting, rank is a | |
| | weighted sum of per-field keyword occurence | |
| | counts" but found "///< simple word-count | |
| | weighting, rank is a weighted sum of per-field | |
| | keyword occurence counts" | |
57 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
58 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
59 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
60 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
61 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
62 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
63 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
65 | ERROR | [x] No space found before comment text; expected | |
| | "// / known sort modes" but found "/// known | |
| | sort modes" | |
65 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
66 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
67 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
68 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
69 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
70 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
71 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
73 | ERROR | [x] No space found before comment text; expected | |
| | "// / known filter types" but found "/// known | |
| | filter types" | |
73 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
74 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
75 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
76 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
78 | ERROR | [x] No space found before comment text; expected | |
| | "// / known attribute types" but found "/// | |
| | known attribute types" | |
78 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
79 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
80 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
81 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
82 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
83 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
84 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
85 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
86 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
87 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
89 | ERROR | [x] No space found before comment text; expected | |
| | "// / known grouping functions" but found "/// | |
| | known grouping functions" | |
89 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
90 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
91 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
92 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
93 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
94 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
95 | ERROR | [x] Space before opening parenthesis of function | |
| | call prohibited | |
97 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
98 | ERROR | [ ] Comment indentation error, expected only 1 | |
| | spaces | |
102 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
102 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
102 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
104 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
105 | ERROR | [ ] Comment indentation error, expected only 1 | |
| | spaces | |
117 | WARNING | [ ] Line exceeds 80 characters; contains 82 | |
| | characters | |
120 | ERROR | [ ] Comment indentation error, expected only 1 | |
| | spaces | |
121 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
121 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
121 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
123 | ERROR | [x] No space found before comment text; expected | |
| | "// / pack 64-bit signed" but found "/// pack | |
| | 64-bit signed" | |
123 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
124 | ERROR | [ ] Invalid function name, expected sph_pack_i64 | |
| | but found sphPackI64 | |
124 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
127 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
133 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
138 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
138 | ERROR | [x] Whitespace found at end of line | |
145 | WARNING | [ ] Line exceeds 80 characters; contains 109 | |
| | characters | |
145 | ERROR | [x] Comments may not appear after statements | |
145 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
145 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
148 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
153 | ERROR | [x] Comments may not appear after statements | |
153 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
156 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
156 | ERROR | [x] Comments may not appear after statements | |
156 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
170 | ERROR | [x] No space found before comment text; expected | |
| | "// / pack 64-bit unsigned" but found "/// pack | |
| | 64-bit unsigned" | |
170 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
171 | ERROR | [ ] Invalid function name, expected sph_pack_u64 | |
| | but found sphPackU64 | |
171 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
174 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
178 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
183 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
190 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
202 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
207 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
211 | WARNING | [ ] Line exceeds 80 characters; contains 109 | |
| | characters | |
211 | ERROR | [x] Comments may not appear after statements | |
211 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
211 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
214 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
227 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
227 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
228 | ERROR | [ ] Invalid function name, expected sph_unpack_u64 | |
| | but found sphUnpackU64 | |
228 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
239 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
244 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
249 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
250 | ERROR | [ ] Variable "C" starts with a capital letter, but | |
| | only $lowerCamelCase or $snake_case is allowed | |
251 | ERROR | [ ] Variable "C" starts with a capital letter, but | |
| | only $lowerCamelCase or $snake_case is allowed | |
251 | ERROR | [ ] Variable "C" starts with a capital letter, but | |
| | only $lowerCamelCase or $snake_case is allowed | |
252 | ERROR | [ ] Variable "C" starts with a capital letter, but | |
| | only $lowerCamelCase or $snake_case is allowed | |
252 | ERROR | [ ] Variable "C" starts with a capital letter, but | |
| | only $lowerCamelCase or $snake_case is allowed | |
253 | ERROR | [ ] Variable "C" starts with a capital letter, but | |
| | only $lowerCamelCase or $snake_case is allowed | |
254 | ERROR | [ ] Variable "C" starts with a capital letter, but | |
| | only $lowerCamelCase or $snake_case is allowed | |
255 | ERROR | [ ] Variable "C" starts with a capital letter, but | |
| | only $lowerCamelCase or $snake_case is allowed | |
264 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
275 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
280 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
299 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
299 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
300 | ERROR | [ ] Invalid function name, expected sph_unpack_i64 | |
| | but found sphUnpackI64 | |
300 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
303 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
315 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
322 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
342 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
347 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
368 | ERROR | [x] Expected 1 blank line after function; 2 found | |
371 | ERROR | [ ] Invalid function name, expected sph_fix_uint | |
| | but found sphFixUint | |
371 | ERROR | [x] Missing function doc comment | |
373 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
380 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
383 | ERROR | [x] Expected 1 blank line after function; 2 found | |
386 | ERROR | [x] No space found before comment text; expected | |
| | "// / sphinx searchd client class" but found | |
| | "/// sphinx searchd client class" | |
386 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
387 | ERROR | [x] You must use "/**" style comments for a class | |
| | comment | |
387 | WARNING | [ ] Class name must be prefixed with the project | |
| | name "AdvancedSphinx" | |
388 | WARNING | [ ] Property name "$_host" should not be prefixed | |
| | with an underscore to indicate visibility | |
388 | ERROR | [ ] Class property $_host should use lowerCamel | |
| | naming without underscores | |
388 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
388 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
388 | ERROR | [ ] Visibility must be declared on property | |
| | "$_host" | |
388 | ERROR | [x] Comments may not appear after statements | |
388 | ERROR | [x] No space found before comment text; expected | |
| | "// /< searchd host (default is "localhost")" | |
| | but found "///< searchd host (default is | |
| | "localhost")" | |
389 | WARNING | [ ] Property name "$_port" should not be prefixed | |
| | with an underscore to indicate visibility | |
389 | ERROR | [ ] Class property $_port should use lowerCamel | |
| | naming without underscores | |
389 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
389 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
389 | ERROR | [ ] Visibility must be declared on property | |
| | "$_port" | |
389 | ERROR | [x] Comments may not appear after statements | |
389 | ERROR | [x] No space found before comment text; expected | |
| | "// /< searchd port (default is 9312)" but | |
| | found "///< searchd port (default is 9312)" | |
390 | WARNING | [ ] Property name "$_offset" should not be prefixed | |
| | with an underscore to indicate visibility | |
390 | ERROR | [ ] Class property $_offset should use lowerCamel | |
| | naming without underscores | |
390 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
390 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
390 | ERROR | [ ] Visibility must be declared on property | |
| | "$_offset" | |
390 | WARNING | [ ] Line exceeds 80 characters; contains 85 | |
| | characters | |
390 | ERROR | [x] Comments may not appear after statements | |
390 | ERROR | [x] No space found before comment text; expected | |
| | "// /< how many records to seek from result-set | |
| | start (default is 0)" but found "///< how many | |
| | records to seek from result-set start (default | |
| | is 0)" | |
391 | WARNING | [ ] Property name "$_limit" should not be prefixed | |
| | with an underscore to indicate visibility | |
391 | ERROR | [ ] Class property $_limit should use lowerCamel | |
| | naming without underscores | |
391 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
391 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
391 | ERROR | [ ] Visibility must be declared on property | |
| | "$_limit" | |
391 | WARNING | [ ] Line exceeds 80 characters; contains 100 | |
| | characters | |
391 | ERROR | [x] Comments may not appear after statements | |
391 | ERROR | [x] No space found before comment text; expected | |
| | "// /< how many records to return from | |
| | result-set starting at offset (default is 20)" | |
| | but found "///< how many records to return from | |
| | result-set starting at offset (default is 20)" | |
392 | WARNING | [ ] Property name "$_mode" should not be prefixed | |
| | with an underscore to indicate visibility | |
392 | ERROR | [ ] Class property $_mode should use lowerCamel | |
| | naming without underscores | |
392 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
392 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
392 | ERROR | [ ] Visibility must be declared on property | |
| | "$_mode" | |
392 | ERROR | [x] Comments may not appear after statements | |
392 | ERROR | [x] No space found before comment text; expected | |
| | "// /< query matching mode (default is | |
| | SPH_MATCH_ALL)" but found "///< query matching | |
| | mode (default is SPH_MATCH_ALL)" | |
393 | WARNING | [ ] Property name "$_weights" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
393 | ERROR | [ ] Class property $_weights should use lowerCamel | |
| | naming without underscores | |
393 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
393 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
393 | ERROR | [ ] Visibility must be declared on property | |
| | "$_weights" | |
393 | ERROR | [x] Comments may not appear after statements | |
393 | ERROR | [x] No space found before comment text; expected | |
| | "// /< per-field weights (default is 1 for all | |
| | fields)" but found "///< per-field weights | |
| | (default is 1 for all fields)" | |
394 | WARNING | [ ] Property name "$_sort" should not be prefixed | |
| | with an underscore to indicate visibility | |
394 | ERROR | [ ] Class property $_sort should use lowerCamel | |
| | naming without underscores | |
394 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
394 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
394 | ERROR | [ ] Visibility must be declared on property | |
| | "$_sort" | |
394 | ERROR | [x] Comments may not appear after statements | |
394 | ERROR | [x] No space found before comment text; expected | |
| | "// /< match sorting mode (default is | |
| | SPH_SORT_RELEVANCE)" but found "///< match | |
| | sorting mode (default is SPH_SORT_RELEVANCE)" | |
395 | WARNING | [ ] Property name "$_sortby" should not be prefixed | |
| | with an underscore to indicate visibility | |
395 | ERROR | [ ] Class property $_sortby should use lowerCamel | |
| | naming without underscores | |
395 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
395 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
395 | ERROR | [ ] Visibility must be declared on property | |
| | "$_sortby" | |
395 | ERROR | [x] Comments may not appear after statements | |
395 | ERROR | [x] No space found before comment text; expected | |
| | "// /< attribute to sort by (defualt is "")" | |
| | but found "///< attribute to sort by (defualt | |
| | is "")" | |
396 | WARNING | [ ] Property name "$_min_id" should not be prefixed | |
| | with an underscore to indicate visibility | |
396 | ERROR | [ ] Class property $_min_id should use lowerCamel | |
| | naming without underscores | |
396 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
396 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
396 | ERROR | [ ] Visibility must be declared on property | |
| | "$_min_id" | |
396 | ERROR | [x] Comments may not appear after statements | |
396 | ERROR | [x] No space found before comment text; expected | |
| | "// /< min ID to match (default is 0, which | |
| | means no limit)" but found "///< min ID to | |
| | match (default is 0, which means no limit)" | |
397 | WARNING | [ ] Property name "$_max_id" should not be prefixed | |
| | with an underscore to indicate visibility | |
397 | ERROR | [ ] Class property $_max_id should use lowerCamel | |
| | naming without underscores | |
397 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
397 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
397 | ERROR | [ ] Visibility must be declared on property | |
| | "$_max_id" | |
397 | ERROR | [x] Comments may not appear after statements | |
397 | ERROR | [x] No space found before comment text; expected | |
| | "// /< max ID to match (default is 0, which | |
| | means no limit)" but found "///< max ID to | |
| | match (default is 0, which means no limit)" | |
398 | WARNING | [ ] Property name "$_filters" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
398 | ERROR | [ ] Class property $_filters should use lowerCamel | |
| | naming without underscores | |
398 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
398 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
398 | ERROR | [ ] Visibility must be declared on property | |
| | "$_filters" | |
398 | ERROR | [x] Comments may not appear after statements | |
398 | ERROR | [x] No space found before comment text; expected | |
| | "// /< search filters" but found "///< search | |
| | filters" | |
399 | WARNING | [ ] Property name "$_groupby" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
399 | ERROR | [ ] Class property $_groupby should use lowerCamel | |
| | naming without underscores | |
399 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
399 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
399 | ERROR | [ ] Visibility must be declared on property | |
| | "$_groupby" | |
399 | ERROR | [x] Comments may not appear after statements | |
399 | ERROR | [x] No space found before comment text; expected | |
| | "// /< group-by attribute name" but found "///< | |
| | group-by attribute name" | |
400 | WARNING | [ ] Property name "$_groupfunc" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
400 | ERROR | [ ] Class property $_groupfunc should use | |
| | lowerCamel naming without underscores | |
400 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
400 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
400 | ERROR | [ ] Visibility must be declared on property | |
| | "$_groupfunc" | |
400 | WARNING | [ ] Line exceeds 80 characters; contains 89 | |
| | characters | |
400 | ERROR | [x] Comments may not appear after statements | |
400 | ERROR | [x] No space found before comment text; expected | |
| | "// /< group-by function (to pre-process | |
| | group-by attribute value with)" but found "///< | |
| | group-by function (to pre-process group-by | |
| | attribute value with)" | |
401 | WARNING | [ ] Property name "$_groupsort" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
401 | ERROR | [ ] Class property $_groupsort should use | |
| | lowerCamel naming without underscores | |
401 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
401 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
401 | ERROR | [ ] Visibility must be declared on property | |
| | "$_groupsort" | |
401 | WARNING | [ ] Line exceeds 80 characters; contains 84 | |
| | characters | |
401 | ERROR | [x] Comments may not appear after statements | |
401 | ERROR | [x] No space found before comment text; expected | |
| | "// /< group-by sorting clause (to sort groups | |
| | in result set with)" but found "///< group-by | |
| | sorting clause (to sort groups in result set | |
| | with)" | |
402 | WARNING | [ ] Property name "$_groupdistinct" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
402 | ERROR | [ ] Class property $_groupdistinct should use | |
| | lowerCamel naming without underscores | |
402 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
402 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
402 | ERROR | [ ] Visibility must be declared on property | |
| | "$_groupdistinct" | |
402 | ERROR | [x] Comments may not appear after statements | |
402 | ERROR | [x] No space found before comment text; expected | |
| | "// /< group-by count-distinct attribute" but | |
| | found "///< group-by count-distinct attribute" | |
403 | WARNING | [ ] Property name "$_maxmatches" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
403 | ERROR | [ ] Class property $_maxmatches should use | |
| | lowerCamel naming without underscores | |
403 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
403 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
403 | ERROR | [ ] Visibility must be declared on property | |
| | "$_maxmatches" | |
403 | ERROR | [x] Comments may not appear after statements | |
403 | ERROR | [x] No space found before comment text; expected | |
| | "// /< max matches to retrieve" but found "///< | |
| | max matches to retrieve" | |
404 | WARNING | [ ] Property name "$_cutoff" should not be prefixed | |
| | with an underscore to indicate visibility | |
404 | ERROR | [ ] Class property $_cutoff should use lowerCamel | |
| | naming without underscores | |
404 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
404 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
404 | ERROR | [ ] Visibility must be declared on property | |
| | "$_cutoff" | |
404 | ERROR | [x] Comments may not appear after statements | |
404 | ERROR | [x] No space found before comment text; expected | |
| | "// /< cutoff to stop searching at (default is | |
| | 0)" but found "///< cutoff to stop searching at | |
| | (default is 0)" | |
405 | WARNING | [ ] Property name "$_retrycount" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
405 | ERROR | [ ] Class property $_retrycount should use | |
| | lowerCamel naming without underscores | |
405 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
405 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
405 | ERROR | [ ] Visibility must be declared on property | |
| | "$_retrycount" | |
405 | ERROR | [x] Comments may not appear after statements | |
405 | ERROR | [x] No space found before comment text; expected | |
| | "// /< distributed retries count" but found | |
| | "///< distributed retries count" | |
406 | WARNING | [ ] Property name "$_retrydelay" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
406 | ERROR | [ ] Class property $_retrydelay should use | |
| | lowerCamel naming without underscores | |
406 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
406 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
406 | ERROR | [ ] Visibility must be declared on property | |
| | "$_retrydelay" | |
406 | ERROR | [x] Comments may not appear after statements | |
406 | ERROR | [x] No space found before comment text; expected | |
| | "// /< distributed retries delay" but found | |
| | "///< distributed retries delay" | |
407 | WARNING | [ ] Property name "$_anchor" should not be prefixed | |
| | with an underscore to indicate visibility | |
407 | ERROR | [ ] Class property $_anchor should use lowerCamel | |
| | naming without underscores | |
407 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
407 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
407 | ERROR | [ ] Visibility must be declared on property | |
| | "$_anchor" | |
407 | ERROR | [x] Comments may not appear after statements | |
407 | ERROR | [x] No space found before comment text; expected | |
| | "// /< geographical anchor point" but found | |
| | "///< geographical anchor point" | |
408 | WARNING | [ ] Property name "$_indexweights" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
408 | ERROR | [ ] Class property $_indexweights should use | |
| | lowerCamel naming without underscores | |
408 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
408 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
408 | ERROR | [ ] Visibility must be declared on property | |
| | "$_indexweights" | |
408 | ERROR | [x] Comments may not appear after statements | |
408 | ERROR | [x] No space found before comment text; expected | |
| | "// /< per-index weights" but found "///< | |
| | per-index weights" | |
409 | WARNING | [ ] Property name "$_ranker" should not be prefixed | |
| | with an underscore to indicate visibility | |
409 | ERROR | [ ] Class property $_ranker should use lowerCamel | |
| | naming without underscores | |
409 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
409 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
409 | ERROR | [ ] Visibility must be declared on property | |
| | "$_ranker" | |
409 | ERROR | [x] Comments may not appear after statements | |
409 | ERROR | [x] No space found before comment text; expected | |
| | "// /< ranking mode (default is | |
| | SPH_RANK_PROXIMITY_BM25)" but found "///< | |
| | ranking mode (default is | |
| | SPH_RANK_PROXIMITY_BM25)" | |
410 | WARNING | [ ] Property name "$_rankexpr" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
410 | ERROR | [ ] Class property $_rankexpr should use lowerCamel | |
| | naming without underscores | |
410 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
410 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
410 | ERROR | [ ] Visibility must be declared on property | |
| | "$_rankexpr" | |
410 | ERROR | [x] Comments may not appear after statements | |
410 | ERROR | [x] No space found before comment text; expected | |
| | "// /< ranking mode expression (for | |
| | SPH_RANK_EXPR)" but found "///< ranking mode | |
| | expression (for SPH_RANK_EXPR)" | |
411 | WARNING | [ ] Property name "$_maxquerytime" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
411 | ERROR | [ ] Class property $_maxquerytime should use | |
| | lowerCamel naming without underscores | |
411 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
411 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
411 | ERROR | [ ] Visibility must be declared on property | |
| | "$_maxquerytime" | |
411 | WARNING | [ ] Line exceeds 80 characters; contains 85 | |
| | characters | |
411 | ERROR | [x] Comments may not appear after statements | |
411 | ERROR | [x] No space found before comment text; expected | |
| | "// /< max query time, milliseconds (default is | |
| | 0, do not limit)" but found "///< max query | |
| | time, milliseconds (default is 0, do not | |
| | limit)" | |
412 | WARNING | [ ] Property name "$_fieldweights" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
412 | ERROR | [ ] Class property $_fieldweights should use | |
| | lowerCamel naming without underscores | |
412 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
412 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
412 | ERROR | [ ] Visibility must be declared on property | |
| | "$_fieldweights" | |
412 | ERROR | [x] Comments may not appear after statements | |
412 | ERROR | [x] No space found before comment text; expected | |
| | "// /< per-field-name weights" but found "///< | |
| | per-field-name weights" | |
413 | WARNING | [ ] Property name "$_overrides" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
413 | ERROR | [ ] Class property $_overrides should use | |
| | lowerCamel naming without underscores | |
413 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
413 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
413 | ERROR | [ ] Visibility must be declared on property | |
| | "$_overrides" | |
413 | ERROR | [x] Comments may not appear after statements | |
413 | ERROR | [x] No space found before comment text; expected | |
| | "// /< per-query attribute values overrides" | |
| | but found "///< per-query attribute values | |
| | overrides" | |
414 | WARNING | [ ] Property name "$_select" should not be prefixed | |
| | with an underscore to indicate visibility | |
414 | ERROR | [ ] Class property $_select should use lowerCamel | |
| | naming without underscores | |
414 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
414 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
414 | ERROR | [ ] Visibility must be declared on property | |
| | "$_select" | |
414 | WARNING | [ ] Line exceeds 80 characters; contains 86 | |
| | characters | |
414 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
414 | ERROR | [x] Comments may not appear after statements | |
414 | ERROR | [x] No space found before comment text; expected | |
| | "// /< select-list (attributes or expressions, | |
| | with optional aliases)" but found "///< | |
| | select-list (attributes or expressions, with | |
| | optional aliases)" | |
416 | WARNING | [ ] Property name "$_error" should not be prefixed | |
| | with an underscore to indicate visibility | |
416 | ERROR | [ ] Class property $_error should use lowerCamel | |
| | naming without underscores | |
416 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
416 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
416 | ERROR | [ ] Visibility must be declared on property | |
| | "$_error" | |
416 | ERROR | [x] Comments may not appear after statements | |
416 | ERROR | [x] No space found before comment text; expected | |
| | "// /< last error message" but found "///< last | |
| | error message" | |
417 | WARNING | [ ] Property name "$_warning" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
417 | ERROR | [ ] Class property $_warning should use lowerCamel | |
| | naming without underscores | |
417 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
417 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
417 | ERROR | [ ] Visibility must be declared on property | |
| | "$_warning" | |
417 | ERROR | [x] Comments may not appear after statements | |
417 | ERROR | [x] No space found before comment text; expected | |
| | "// /< last warning message" but found "///< | |
| | last warning message" | |
418 | WARNING | [ ] Property name "$_connerror" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
418 | ERROR | [ ] Class property $_connerror should use | |
| | lowerCamel naming without underscores | |
418 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
418 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
418 | ERROR | [ ] Visibility must be declared on property | |
| | "$_connerror" | |
418 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
418 | ERROR | [x] Comments may not appear after statements | |
418 | ERROR | [x] No space found before comment text; expected | |
| | "// /< connection error vs remote error flag" | |
| | but found "///< connection error vs remote | |
| | error flag" | |
418 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
420 | WARNING | [ ] Property name "$_reqs" should not be prefixed | |
| | with an underscore to indicate visibility | |
420 | ERROR | [ ] Class property $_reqs should use lowerCamel | |
| | naming without underscores | |
420 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
420 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
420 | ERROR | [ ] Visibility must be declared on property | |
| | "$_reqs" | |
420 | ERROR | [x] Comments may not appear after statements | |
420 | ERROR | [x] No space found before comment text; expected | |
| | "// /< requests array for multi-query" but | |
| | found "///< requests array for multi-query" | |
421 | WARNING | [ ] Property name "$_mbenc" should not be prefixed | |
| | with an underscore to indicate visibility | |
421 | ERROR | [ ] Class property $_mbenc should use lowerCamel | |
| | naming without underscores | |
421 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
421 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
421 | ERROR | [ ] Visibility must be declared on property | |
| | "$_mbenc" | |
421 | ERROR | [x] Comments may not appear after statements | |
421 | ERROR | [x] No space found before comment text; expected | |
| | "// /< stored mbstring encoding" but found | |
| | "///< stored mbstring encoding" | |
422 | WARNING | [ ] Property name "$_arrayresult" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
422 | ERROR | [ ] Class property $_arrayresult should use | |
| | lowerCamel naming without underscores | |
422 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
422 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
422 | ERROR | [ ] Visibility must be declared on property | |
| | "$_arrayresult" | |
422 | WARNING | [ ] Line exceeds 80 characters; contains 82 | |
| | characters | |
422 | ERROR | [x] Comments may not appear after statements | |
422 | ERROR | [x] No space found before comment text; expected | |
| | "// /< whether $result["matches"] should be a | |
| | hash or an array" but found "///< whether | |
| | $result["matches"] should be a hash or an | |
| | array" | |
423 | WARNING | [ ] Property name "$_timeout" should not be | |
| | prefixed with an underscore to indicate | |
| | visibility | |
423 | ERROR | [ ] Class property $_timeout should use lowerCamel | |
| | naming without underscores | |
423 | ERROR | [x] You must use "/**" style comments for a member | |
| | variable comment | |
423 | ERROR | [x] The var keyword must not be used to declare a | |
| | property | |
423 | ERROR | [ ] Visibility must be declared on property | |
| | "$_timeout" | |
423 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
423 | ERROR | [x] Comments may not appear after statements | |
423 | ERROR | [x] No space found before comment text; expected | |
| | "// /< connect timeout" but found "///< connect | |
| | timeout" | |
423 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
425 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
427 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
427 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
427 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
427 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
429 | ERROR | [x] No space found before comment text; expected | |
| | "// / create a new client object and fill | |
| | defaults" but found "/// create a new client | |
| | object and fill defaults" | |
429 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
430 | ERROR | [ ] Method name "SphinxClient::SphinxClient" is not | |
| | in lowerCamel format | |
430 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
430 | ERROR | [x] Visibility must be declared on method | |
| | "SphinxClient" | |
430 | ERROR | [ ] PHP4 style constructors are not allowed; use | |
| | "__construct()" instead | |
431 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
437 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
464 | ERROR | [x] Comments may not appear after statements | |
468 | ERROR | [x] Comments may not appear after statements | |
468 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
474 | ERROR | [x] Missing function doc comment | |
474 | ERROR | [x] Visibility must be declared on method | |
| | "__destruct" | |
480 | ERROR | [x] No space found before comment text; expected | |
| | "// / get last error message (string)" but | |
| | found "/// get last error message (string)" | |
481 | ERROR | [ ] Method name "SphinxClient::GetLastError" is not | |
| | in lowerCamel format | |
481 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
481 | ERROR | [x] Visibility must be declared on method | |
| | "GetLastError" | |
485 | ERROR | [x] No space found before comment text; expected | |
| | "// / get last warning message (string)" but | |
| | found "/// get last warning message (string)" | |
486 | ERROR | [ ] Method name "SphinxClient::GetLastWarning" is | |
| | not in lowerCamel format | |
486 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
486 | ERROR | [x] Visibility must be declared on method | |
| | "GetLastWarning" | |
490 | WARNING | [ ] Line exceeds 80 characters; contains 101 | |
| | characters | |
490 | ERROR | [x] No space found before comment text; expected | |
| | "// / get last error flag (to tell network | |
| | connection errors from searchd errors or broken | |
| | responses)" but found "/// get last error flag | |
| | (to tell network connection errors from searchd | |
| | errors or broken responses)" | |
491 | ERROR | [ ] Method name "SphinxClient::IsConnectError" is | |
| | not in lowerCamel format | |
491 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
491 | ERROR | [x] Visibility must be declared on method | |
| | "IsConnectError" | |
495 | ERROR | [x] No space found before comment text; expected | |
| | "// / set searchd host name (string) and port | |
| | (integer)" but found "/// set searchd host name | |
| | (string) and port (integer)" | |
496 | ERROR | [ ] Method name "SphinxClient::SetServer" is not in | |
| | lowerCamel format | |
496 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
496 | ERROR | [x] Visibility must be declared on method | |
| | "SetServer" | |
498 | ERROR | [x] There should be no white space before a closing | |
| | ")" | |
502 | ERROR | [x] Whitespace found at end of line | |
503 | ERROR | [x] Expected 1 space after IF keyword; 0 found | |
503 | ERROR | [x] There should be no white space after an opening | |
| | "(" | |
503 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
508 | ERROR | [x] Whitespace found at end of line | |
521 | ERROR | [x] No space found before comment text; expected | |
| | "// / set server connection timeout (0 to | |
| | remove)" but found "/// set server connection | |
| | timeout (0 to remove)" | |
522 | ERROR | [ ] Method name "SphinxClient::SetConnectTimeout" | |
| | is not in lowerCamel format | |
522 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
522 | ERROR | [x] Visibility must be declared on method | |
| | "SetConnectTimeout" | |
525 | ERROR | [x] Expected 1 blank line after function; 2 found | |
528 | ERROR | [ ] Method name "SphinxClient::_Send" is not in | |
| | lowerCamel format | |
528 | ERROR | [x] Missing function doc comment | |
528 | ERROR | [x] Visibility must be declared on method "_Send" | |
537 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
537 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
537 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
537 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
539 | ERROR | [x] No space found before comment text; expected | |
| | "// / enter mbstring workaround mode" but found | |
| | "/// enter mbstring workaround mode" | |
539 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
540 | ERROR | [ ] Method name "SphinxClient::_MBPush" is not in | |
| | lowerCamel format | |
540 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
540 | ERROR | [x] Visibility must be declared on method "_MBPush" | |
548 | ERROR | [x] No space found before comment text; expected | |
| | "// / leave mbstring workaround mode" but found | |
| | "/// leave mbstring workaround mode" | |
548 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
549 | ERROR | [ ] Method name "SphinxClient::_MBPop" is not in | |
| | lowerCamel format | |
549 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
549 | ERROR | [x] Visibility must be declared on method "_MBPop" | |
555 | ERROR | [x] No space found before comment text; expected | |
| | "// / connect to searchd server" but found "/// | |
| | connect to searchd server" | |
555 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
556 | ERROR | [ ] Method name "SphinxClient::_Connect" is not in | |
| | lowerCamel format | |
556 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
556 | ERROR | [x] Visibility must be declared on method | |
| | "_Connect" | |
558 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
559 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
564 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
564 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
602 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
603 | WARNING | [ ] Line exceeds 80 characters; contains 81 | |
| | characters | |
604 | WARNING | [ ] Line exceeds 80 characters; contains 81 | |
| | characters | |
612 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
612 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
624 | ERROR | [x] No space found before comment text; expected | |
| | "// / get and check response packet from | |
| | searchd server" but found "/// get and check | |
| | response packet from searchd server" | |
624 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
625 | ERROR | [ ] Method name "SphinxClient::_GetResponse" is not | |
| | in lowerCamel format | |
625 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
625 | ERROR | [x] Visibility must be declared on method | |
| | "_GetResponse" | |
645 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
645 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
654 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
654 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
673 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
673 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
682 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
684 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
684 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
684 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
684 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
686 | ERROR | [x] No space found before comment text; expected | |
| | "// / set offset and count into result set," | |
| | but found "/// set offset and count into result | |
| | set," | |
687 | ERROR | [x] No space found before comment text; expected | |
| | "// / and optionally set max-matches and cutoff | |
| | limits" but found "/// and optionally set | |
| | max-matches and cutoff limits" | |
687 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
688 | ERROR | [ ] Method name "SphinxClient::SetLimits" is not in | |
| | lowerCamel format | |
688 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
688 | ERROR | [x] Visibility must be declared on method | |
| | "SetLimits" | |
704 | ERROR | [x] No space found before comment text; expected | |
| | "// / set maximum query time, in milliseconds, | |
| | per-index" but found "/// set maximum query | |
| | time, in milliseconds, per-index" | |
705 | ERROR | [x] No space found before comment text; expected | |
| | "// / integer, 0 means "do not limit"" but | |
| | found "/// integer, 0 means "do not limit"" | |
705 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
706 | ERROR | [ ] Method name "SphinxClient::SetMaxQueryTime" is | |
| | not in lowerCamel format | |
706 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
706 | ERROR | [x] Visibility must be declared on method | |
| | "SetMaxQueryTime" | |
712 | ERROR | [x] No space found before comment text; expected | |
| | "// / set matching mode" but found "/// set | |
| | matching mode" | |
712 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
713 | ERROR | [ ] Method name "SphinxClient::SetMatchMode" is not | |
| | in lowerCamel format | |
713 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
713 | ERROR | [x] Visibility must be declared on method | |
| | "SetMatchMode" | |
724 | ERROR | [x] No space found before comment text; expected | |
| | "// / set ranking mode" but found "/// set | |
| | ranking mode" | |
724 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
725 | ERROR | [ ] Method name "SphinxClient::SetRankingMode" is | |
| | not in lowerCamel format | |
725 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
725 | ERROR | [x] Visibility must be declared on method | |
| | "SetRankingMode" | |
732 | ERROR | [x] No space found before comment text; expected | |
| | "// / set matches sorting mode" but found "/// | |
| | set matches sorting mode" | |
732 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
733 | ERROR | [ ] Method name "SphinxClient::SetSortMode" is not | |
| | in lowerCamel format | |
733 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
733 | ERROR | [x] Visibility must be declared on method | |
| | "SetSortMode" | |
748 | ERROR | [x] No space found before comment text; expected | |
| | "// / bind per-field weights by order" but | |
| | found "/// bind per-field weights by order" | |
749 | ERROR | [x] No space found before comment text; expected | |
| | "// / DEPRECATED; use SetFieldWeights() | |
| | instead" but found "/// DEPRECATED; use | |
| | SetFieldWeights() instead" | |
749 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
750 | ERROR | [ ] Method name "SphinxClient::SetWeights" is not | |
| | in lowerCamel format | |
750 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
750 | ERROR | [x] Visibility must be declared on method | |
| | "SetWeights" | |
759 | ERROR | [x] No space found before comment text; expected | |
| | "// / bind per-field weights by name" but found | |
| | "/// bind per-field weights by name" | |
759 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
760 | ERROR | [ ] Method name "SphinxClient::SetFieldWeights" is | |
| | not in lowerCamel format | |
760 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
760 | ERROR | [x] Visibility must be declared on method | |
| | "SetFieldWeights" | |
769 | ERROR | [x] No space found before comment text; expected | |
| | "// / bind per-index weights by name" but found | |
| | "/// bind per-index weights by name" | |
769 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
770 | ERROR | [ ] Method name "SphinxClient::SetIndexWeights" is | |
| | not in lowerCamel format | |
770 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
770 | ERROR | [x] Visibility must be declared on method | |
| | "SetIndexWeights" | |
779 | ERROR | [x] No space found before comment text; expected | |
| | "// / set IDs range to match" but found "/// | |
| | set IDs range to match" | |
780 | ERROR | [x] No space found before comment text; expected | |
| | "// / only match records if document ID is | |
| | beetwen $min and $max (inclusive)" but found | |
| | "/// only match records if document ID is | |
| | beetwen $min and $max (inclusive)" | |
781 | ERROR | [ ] Method name "SphinxClient::SetIDRange" is not | |
| | in lowerCamel format | |
781 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
781 | ERROR | [x] Visibility must be declared on method | |
| | "SetIDRange" | |
789 | ERROR | [x] No space found before comment text; expected | |
| | "// / set values set filter" but found "/// set | |
| | values set filter" | |
790 | ERROR | [x] No space found before comment text; expected | |
| | "// / only match records where $attribute value | |
| | is in given set" but found "/// only match | |
| | records where $attribute value is in given set" | |
790 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
791 | ERROR | [ ] Method name "SphinxClient::SetFilter" is not in | |
| | lowerCamel format | |
791 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
791 | ERROR | [x] Visibility must be declared on method | |
| | "SetFilter" | |
810 | ERROR | [x] No space found before comment text; expected | |
| | "// / set range filter" but found "/// set | |
| | range filter" | |
811 | WARNING | [ ] Line exceeds 80 characters; contains 81 | |
| | characters | |
811 | ERROR | [x] No space found before comment text; expected | |
| | "// / only match records if $attribute value is | |
| | beetwen $min and $max (inclusive)" but found | |
| | "/// only match records if $attribute value is | |
| | beetwen $min and $max (inclusive)" | |
812 | ERROR | [ ] Method name "SphinxClient::SetFilterRange" is | |
| | not in lowerCamel format | |
812 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
812 | ERROR | [x] Visibility must be declared on method | |
| | "SetFilterRange" | |
827 | ERROR | [x] No space found before comment text; expected | |
| | "// / set float range filter" but found "/// | |
| | set float range filter" | |
828 | WARNING | [ ] Line exceeds 80 characters; contains 81 | |
| | characters | |
828 | ERROR | [x] No space found before comment text; expected | |
| | "// / only match records if $attribute value is | |
| | beetwen $min and $max (inclusive)" but found | |
| | "/// only match records if $attribute value is | |
| | beetwen $min and $max (inclusive)" | |
829 | ERROR | [ ] Method name "SphinxClient::SetFilterFloatRange" | |
| | is not in lowerCamel format | |
829 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
829 | ERROR | [x] Visibility must be declared on method | |
| | "SetFilterFloatRange" | |
844 | ERROR | [x] No space found before comment text; expected | |
| | "// / setup anchor point for geosphere distance | |
| | calculations" but found "/// setup anchor point | |
| | for geosphere distance calculations" | |
845 | ERROR | [x] No space found before comment text; expected | |
| | "// / required to use @geodist in filters and | |
| | sorting" but found "/// required to use | |
| | @geodist in filters and sorting" | |
846 | ERROR | [x] No space found before comment text; expected | |
| | "// / latitude and longitude must be in | |
| | radians" but found "/// latitude and longitude | |
| | must be in radians" | |
846 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
847 | ERROR | [ ] Method name "SphinxClient::SetGeoAnchor" is not | |
| | in lowerCamel format | |
847 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
847 | ERROR | [x] Visibility must be declared on method | |
| | "SetGeoAnchor" | |
861 | ERROR | [x] No space found before comment text; expected | |
| | "// / set grouping attribute and function" but | |
| | found "/// set grouping attribute and function" | |
861 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
862 | ERROR | [ ] Method name "SphinxClient::SetGroupBy" is not | |
| | in lowerCamel format | |
862 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
862 | ERROR | [x] Visibility must be declared on method | |
| | "SetGroupBy" | |
877 | ERROR | [x] No space found before comment text; expected | |
| | "// / set count-distinct attribute for group-by | |
| | queries" but found "/// set count-distinct | |
| | attribute for group-by queries" | |
877 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
878 | ERROR | [ ] Method name "SphinxClient::SetGroupDistinct" is | |
| | not in lowerCamel format | |
878 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
878 | ERROR | [x] Visibility must be declared on method | |
| | "SetGroupDistinct" | |
883 | ERROR | [x] No space found before comment text; expected | |
| | "// / set distributed retries count and delay" | |
| | but found "/// set distributed retries count | |
| | and delay" | |
883 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
884 | ERROR | [ ] Method name "SphinxClient::SetRetries" is not | |
| | in lowerCamel format | |
884 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
884 | ERROR | [x] Visibility must be declared on method | |
| | "SetRetries" | |
891 | ERROR | [x] No space found before comment text; expected | |
| | "// / set result set format (hash or array; | |
| | hash by default)" but found "/// set result set | |
| | format (hash or array; hash by default)" | |
892 | WARNING | [ ] Line exceeds 80 characters; contains 86 | |
| | characters | |
892 | ERROR | [x] No space found before comment text; expected | |
| | "// / PHP specific; needed for group-by-MVA | |
| | result sets that may contain duplicate IDs" but | |
| | found "/// PHP specific; needed for | |
| | group-by-MVA result sets that may contain | |
| | duplicate IDs" | |
892 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
893 | ERROR | [ ] Method name "SphinxClient::SetArrayResult" is | |
| | not in lowerCamel format | |
893 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
893 | ERROR | [x] Visibility must be declared on method | |
| | "SetArrayResult" | |
898 | ERROR | [x] No space found before comment text; expected | |
| | "// / set attribute values override" but found | |
| | "/// set attribute values override" | |
899 | ERROR | [x] No space found before comment text; expected | |
| | "// / there can be only one override per | |
| | attribute" but found "/// there can be only one | |
| | override per attribute" | |
900 | ERROR | [x] No space found before comment text; expected | |
| | "// / $values must be a hash that maps document | |
| | IDs to attribute values" but found "/// $values | |
| | must be a hash that maps document IDs to | |
| | attribute values" | |
900 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
901 | ERROR | [ ] Method name "SphinxClient::SetOverride" is not | |
| | in lowerCamel format | |
901 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
901 | ERROR | [x] Visibility must be declared on method | |
| | "SetOverride" | |
919 | ERROR | [x] No space found before comment text; expected | |
| | "// / set select-list (attributes or | |
| | expressions), SQL-like syntax" but found "/// | |
| | set select-list (attributes or expressions), | |
| | SQL-like syntax" | |
919 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
920 | ERROR | [ ] Method name "SphinxClient::SetSelect" is not in | |
| | lowerCamel format | |
920 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
920 | ERROR | [x] Visibility must be declared on method | |
| | "SetSelect" | |
925 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
925 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
925 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ////////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "//////////////////////////////////////////////////////////////////////////////" | |
925 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
927 | ERROR | [x] No space found before comment text; expected | |
| | "// / clear all filters (for multi-queries)" | |
| | but found "/// clear all filters (for | |
| | multi-queries)" | |
928 | ERROR | [ ] Method name "SphinxClient::ResetFilters" is not | |
| | in lowerCamel format | |
928 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
928 | ERROR | [x] Visibility must be declared on method | |
| | "ResetFilters" | |
933 | ERROR | [x] No space found before comment text; expected | |
| | "// / clear groupby settings (for | |
| | multi-queries)" but found "/// clear groupby | |
| | settings (for multi-queries)" | |
934 | ERROR | [ ] Method name "SphinxClient::ResetGroupBy" is not | |
| | in lowerCamel format | |
934 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
934 | ERROR | [x] Visibility must be declared on method | |
| | "ResetGroupBy" | |
941 | ERROR | [x] No space found before comment text; expected | |
| | "// / clear all attribute value overrides (for | |
| | multi-queries)" but found "/// clear all | |
| | attribute value overrides (for multi-queries)" | |
942 | ERROR | [ ] Method name "SphinxClient::ResetOverrides" is | |
| | not in lowerCamel format | |
942 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
942 | ERROR | [x] Visibility must be declared on method | |
| | "ResetOverrides" | |
946 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
946 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
946 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ////////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "//////////////////////////////////////////////////////////////////////////////" | |
946 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
948 | ERROR | [x] No space found before comment text; expected | |
| | "// / connect to searchd server, run given | |
| | search query through given indexes," but found | |
| | "/// connect to searchd server, run given | |
| | search query through given indexes," | |
949 | ERROR | [x] No space found before comment text; expected | |
| | "// / and return the search results" but found | |
| | "/// and return the search results" | |
949 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
950 | ERROR | [ ] Method name "SphinxClient::Query" is not in | |
| | lowerCamel format | |
950 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
950 | ERROR | [x] Visibility must be declared on method "Query" | |
955 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
955 | ERROR | [x] Comments may not appear after statements | |
955 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
955 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
959 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
971 | ERROR | [x] No space found before comment text; expected | |
| | "// / helper to pack floats in network byte | |
| | order" but found "/// helper to pack floats in | |
| | network byte order" | |
971 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
972 | ERROR | [ ] Method name "SphinxClient::_PackFloat" is not | |
| | in lowerCamel format | |
972 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
972 | ERROR | [x] Visibility must be declared on method | |
| | "_PackFloat" | |
973 | ERROR | [x] Comments may not appear after statements | |
973 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
974 | ERROR | [x] Comments may not appear after statements | |
974 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
978 | ERROR | [x] No space found before comment text; expected | |
| | "// / add query to multi-query batch" but found | |
| | "/// add query to multi-query batch" | |
979 | ERROR | [x] No space found before comment text; expected | |
| | "// / returns index into results array from | |
| | RunQueries() call" but found "/// returns index | |
| | into results array from RunQueries() call" | |
979 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
980 | ERROR | [ ] Method name "SphinxClient::AddQuery" is not in | |
| | lowerCamel format | |
980 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
980 | ERROR | [x] Visibility must be declared on method | |
| | "AddQuery" | |
981 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
981 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
984 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
984 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
989 | ERROR | [x] Comments may not appear after statements | |
989 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
991 | ERROR | [x] Comments may not appear after statements | |
991 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
992 | ERROR | [x] Comments may not appear after statements | |
992 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
996 | ERROR | [x] Comments may not appear after statements | |
997 | ERROR | [x] Comments may not appear after statements | |
998 | WARNING | [ ] Line exceeds 80 characters; contains 82 | |
| | characters | |
998 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
998 | ERROR | [x] Comments may not appear after statements | |
998 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1000 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1000 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1027 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1034 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1034 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1046 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1052 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1052 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1055 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1061 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1061 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1064 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1064 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1066 | WARNING | [ ] Unused variable $key. | |
1077 | ERROR | [x] Case breaking statements must be followed by a | |
| | single blank line | |
1080 | ERROR | [x] Case breaking statements must be followed by a | |
| | single blank line | |
1088 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1091 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1091 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1094 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1094 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1099 | ERROR | [x] No space found before comment text; expected | |
| | "// / connect to searchd, run queries batch, | |
| | and return an array of result sets" but found | |
| | "/// connect to searchd, run queries batch, and | |
| | return an array of result sets" | |
1099 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1100 | ERROR | [ ] Method name "SphinxClient::RunQueries" is not | |
| | in lowerCamel format | |
1100 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
1100 | ERROR | [x] Visibility must be declared on method | |
| | "RunQueries" | |
1106 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1106 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1114 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1114 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1116 | ERROR | [ ] join() is a function name alias, use implode() | |
| | instead | |
1118 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1118 | ERROR | [x] Comments may not appear after statements | |
1118 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1118 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1127 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1127 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1130 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1130 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1134 | ERROR | [x] No space found before comment text; expected | |
| | "// / parse and return search query (or | |
| | queries) response" but found "/// parse and | |
| | return search query (or queries) response" | |
1134 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1135 | ERROR | [ ] Method name | |
| | "SphinxClient::_ParseSearchResponse" is not in | |
| | lowerCamel format | |
1135 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
1135 | ERROR | [x] Visibility must be declared on method | |
| | "_ParseSearchResponse" | |
1136 | ERROR | [x] Comments may not appear after statements | |
1136 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1137 | WARNING | [ ] Line exceeds 80 characters; contains 93 | |
| | characters | |
1137 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1137 | ERROR | [x] Comments may not appear after statements | |
1137 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1147 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1147 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1166 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1166 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1193 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1193 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1199 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1199 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1202 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1202 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1205 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1205 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1221 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1221 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1230 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1230 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1233 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1233 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1240 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1240 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1249 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1281 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1326 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
1328 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1328 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1328 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
1328 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1330 | ERROR | [x] No space found before comment text; expected | |
| | "// / connect to searchd server, and generate | |
| | exceprts (snippets)" but found "/// connect to | |
| | searchd server, and generate exceprts | |
| | (snippets)" | |
1331 | ERROR | [x] No space found before comment text; expected | |
| | "// / of given documents for given query. | |
| | returns false on failure," but found "/// of | |
| | given documents for given query. returns false | |
| | on failure," | |
1332 | ERROR | [x] No space found before comment text; expected | |
| | "// / an array of snippets on success" but | |
| | found "/// an array of snippets on success" | |
1332 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1333 | ERROR | [ ] Method name "SphinxClient::BuildExcerpts" is | |
| | not in lowerCamel format | |
1333 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
1333 | ERROR | [x] Visibility must be declared on method | |
| | "BuildExcerpts" | |
1346 | ERROR | [x] No space found before comment text; expected | |
| | "// ///////////////" but found | |
| | "/////////////////" | |
1348 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1348 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1348 | ERROR | [x] No space found before comment text; expected | |
| | "// ///////////////" but found | |
| | "/////////////////" | |
1348 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1410 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
1412 | ERROR | [x] No space found before comment text; expected | |
| | "// ///////////////" but found | |
| | "/////////////////" | |
1414 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1414 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1414 | ERROR | [x] No space found before comment text; expected | |
| | "// ///////////////" but found | |
| | "/////////////////" | |
1414 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1417 | ERROR | [x] Comments may not appear after statements | |
1417 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1448 | ERROR | [x] Comments may not appear after statements | |
1449 | ERROR | [x] Comments may not appear after statements | |
1450 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1450 | ERROR | [x] Comments may not appear after statements | |
1450 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1452 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1452 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1457 | ERROR | [x] Comments may not appear after statements | |
1457 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1461 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1461 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1468 | ERROR | [x] No space found before comment text; expected | |
| | "// //////////////////////////" but found | |
| | "////////////////////////////" | |
1470 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1470 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1470 | ERROR | [x] No space found before comment text; expected | |
| | "// //////////////////////////" but found | |
| | "////////////////////////////" | |
1470 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1473 | ERROR | [x] Comments may not appear after statements | |
1473 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1473 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1481 | ERROR | [x] No space found before comment text; expected | |
| | "// ////////////////" but found | |
| | "//////////////////" | |
1483 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1483 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1483 | ERROR | [x] No space found before comment text; expected | |
| | "// ////////////////" but found | |
| | "//////////////////" | |
1483 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1503 | ERROR | [x] Expected 1 blank line after function; 2 found | |
1506 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
1508 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1508 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1508 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
1508 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1510 | ERROR | [x] No space found before comment text; expected | |
| | "// / connect to searchd server, and generate | |
| | keyword list for a given query" but found "/// | |
| | connect to searchd server, and generate keyword | |
| | list for a given query" | |
1511 | ERROR | [x] No space found before comment text; expected | |
| | "// / returns false on failure," but found "/// | |
| | returns false on failure," | |
1512 | ERROR | [x] No space found before comment text; expected | |
| | "// / an array of words on success" but found | |
| | "/// an array of words on success" | |
1512 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1513 | ERROR | [ ] Method name "SphinxClient::BuildKeywords" is | |
| | not in lowerCamel format | |
1513 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
1513 | ERROR | [x] Visibility must be declared on method | |
| | "BuildKeywords" | |
1525 | ERROR | [x] No space found before comment text; expected | |
| | "// ///////////////" but found | |
| | "/////////////////" | |
1527 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1527 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1527 | ERROR | [x] No space found before comment text; expected | |
| | "// ///////////////" but found | |
| | "/////////////////" | |
1527 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1530 | ERROR | [x] Comments may not appear after statements | |
1531 | ERROR | [x] Comments may not appear after statements | |
1531 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1534 | ERROR | [x] No space found before comment text; expected | |
| | "// //////////////////////////" but found | |
| | "////////////////////////////" | |
1536 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1536 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1536 | ERROR | [x] No space found before comment text; expected | |
| | "// //////////////////////////" but found | |
| | "////////////////////////////" | |
1536 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1539 | ERROR | [x] Comments may not appear after statements | |
1539 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1539 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1547 | ERROR | [x] No space found before comment text; expected | |
| | "// ////////////////" but found | |
| | "//////////////////" | |
1549 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1549 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1549 | ERROR | [x] No space found before comment text; expected | |
| | "// ////////////////" but found | |
| | "//////////////////" | |
1549 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1572 | ERROR | [x] Space found before square bracket; expected | |
| | "$res[" but found "$res [" | |
1573 | ERROR | [x] Space found before square bracket; expected | |
| | "$res[" but found "$res [" | |
1587 | ERROR | [ ] Method name "SphinxClient::EscapeString" is not | |
| | in lowerCamel format | |
1587 | ERROR | [x] Missing function doc comment | |
1587 | ERROR | [x] Visibility must be declared on method | |
| | "EscapeString" | |
1624 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
1626 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1626 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1626 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
1626 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1628 | ERROR | [x] No space found before comment text; expected | |
| | "// / batch update given attributes in given | |
| | rows in given indexes" but found "/// batch | |
| | update given attributes in given rows in given | |
| | indexes" | |
1629 | WARNING | [ ] Line exceeds 80 characters; contains 82 | |
| | characters | |
1629 | ERROR | [x] No space found before comment text; expected | |
| | "// / returns amount of updated documents (0 or | |
| | more) on success, or -1 on failure" but found | |
| | "/// returns amount of updated documents (0 or | |
| | more) on success, or -1 on failure" | |
1629 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1630 | ERROR | [ ] Method name "SphinxClient::UpdateAttributes" is | |
| | not in lowerCamel format | |
1630 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
1630 | ERROR | [x] Visibility must be declared on method | |
| | "UpdateAttributes" | |
1631 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1631 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1658 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1658 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1681 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1688 | ERROR | [x] Comments may not appear after statements | |
1688 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1688 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1699 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1699 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1705 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
1707 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1707 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1707 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ///////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "/////////////////////////////////////////////////////////////////////////////" | |
1707 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1709 | ERROR | [ ] Method name "SphinxClient::Open" is not in | |
| | lowerCamel format | |
1709 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
1709 | ERROR | [x] Visibility must be declared on method "Open" | |
1718 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1728 | ERROR | [ ] Method name "SphinxClient::Close" is not in | |
| | lowerCamel format | |
1728 | ERROR | [x] Missing function doc comment | |
1728 | ERROR | [x] Visibility must be declared on method "Close" | |
1740 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "//////////////////////////////////////////////////////////////////////////" | |
1742 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1742 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1742 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "//////////////////////////////////////////////////////////////////////////" | |
1742 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1744 | ERROR | [ ] Method name "SphinxClient::Status" is not in | |
| | lowerCamel format | |
1744 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
1744 | ERROR | [x] Visibility must be declared on method "Status" | |
1751 | ERROR | [x] Comments may not appear after statements | |
1751 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1759 | ERROR | [x] Comments may not appear after statements | |
1759 | ERROR | [x] Inline comments must start with a capital | |
| | letter | |
1759 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1778 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "//////////////////////////////////////////////////////////////////////////" | |
1780 | WARNING | [x] There must be no blank line following an inline | |
| | comment | |
1780 | WARNING | [ ] There must be no blank line following an inline | |
| | comment | |
1780 | ERROR | [x] No space found before comment text; expected | |
| | "// | |
| | ////////////////////////////////////////////////////////////////////////" | |
| | but found | |
| | "//////////////////////////////////////////////////////////////////////////" | |
1780 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1782 | ERROR | [ ] Method name "SphinxClient::FlushAttributes" is | |
| | not in lowerCamel format | |
1782 | ERROR | [x] You must use "/**" style comments for a | |
| | function comment | |
1782 | ERROR | [x] Visibility must be declared on method | |
| | "FlushAttributes" | |
1789 | ERROR | [x] Comments may not appear after statements | |
1789 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
1807 | ERROR | [x] Expected 1 blank line after function; 0 found | |
1808 | ERROR | [x] The closing brace for the class must have an | |
| | empty line before it | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 689 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_filters/dru_filters.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/dru_filters/dru_filters.module | |
---------------------------------------------------------------------- | |
FOUND 36 ERRORS AND 2 WARNINGS AFFECTING 28 LINES | |
---------------------------------------------------------------------- | |
5 | ERROR | [x] Function comment short description must start | |
| | with exactly one space | |
16 | WARNING | [ ] Avoid backslash escaping in translatable strings | |
| | when possible, use "" quotes instead | |
31 | ERROR | [x] Expected 1 spaces after parameter type; 2 found | |
31 | ERROR | [x] Parameter comment must be on the next line | |
32 | ERROR | [x] Expected 1 spaces after parameter type; 2 found | |
32 | ERROR | [x] Parameter comment must be on the next line | |
33 | ERROR | [x] Parameter comment must be on the next line | |
34 | ERROR | [x] Parameter comment indentation must be 3 spaces, | |
| | found 27 spaces | |
34 | ERROR | [ ] Parameter comment must start with a capital | |
| | letter | |
35 | ERROR | [x] Parameter comment must be on the next line | |
36 | ERROR | [x] Expected 1 spaces after parameter type; 2 found | |
36 | ERROR | [x] Parameter comment must be on the next line | |
37 | ERROR | [x] Parameter comment indentation must be 3 spaces, | |
| | found 27 spaces | |
37 | WARNING | [ ] Line exceeds 80 characters; contains 115 | |
| | characters | |
39 | ERROR | [x] Expected 1 spaces after parameter type; 2 found | |
39 | ERROR | [x] Parameter comment must be on the next line | |
41 | ERROR | [ ] Return type "array An array of form elements | |
| | defining settings for the filter. Array keys | |
| | should match the array keys in" must not contain | |
| | spaces | |
42 | ERROR | [x] Return comment indentation must be 3 spaces, | |
| | found 15 spaces | |
44 | ERROR | [ ] Type hint "array" missing for $form | |
44 | ERROR | [ ] Type hint "array" missing for $form_state | |
44 | ERROR | [ ] Type hint "array" missing for $defaults | |
44 | ERROR | [ ] Type hint "array" missing for $filters | |
66 | ERROR | [x] Parameter comment must be on the next line | |
67 | ERROR | [x] Parameter comment must be on the next line | |
68 | ERROR | [x] Parameter comment must be on the next line | |
69 | ERROR | [x] Parameter comment must be on the next line | |
70 | ERROR | [x] Expected 1 spaces after parameter type; 3 found | |
70 | ERROR | [x] Parameter comment must be on the next line | |
71 | ERROR | [x] Parameter comment must be on the next line | |
73 | ERROR | [ ] Description for the @return value is missing | |
86 | ERROR | [ ] Missing parameter comment | |
87 | ERROR | [ ] Missing parameter comment | |
89 | ERROR | [ ] Description for the @return value is missing | |
99 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
100 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
117 | ERROR | [ ] Missing parameter comment | |
118 | ERROR | [ ] Missing parameter comment | |
120 | ERROR | [ ] Description for the @return value is missing | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 23 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_filters/src/DOMDocument/DruDOMDocument.php | |
---------------------------------------------------------------------- | |
FOUND 8 ERRORS AFFECTING 6 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [x] Namespaced classes, interfaces and traits should | |
| | not begin with a file doc comment | |
5 | ERROR | [x] Function comment short description must start with | |
| | exactly one space | |
14 | ERROR | [x] Doc comment short description must end with a full | |
| | stop | |
20 | ERROR | [ ] Public method name "DruDOMDocument::saveHTML" is | |
| | not in lowerCamel format | |
20 | ERROR | [x] Missing function doc comment | |
20 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "NULL" but found "null" | |
24 | ERROR | [x] Expected 1 blank line after function; 0 found | |
25 | ERROR | [x] The closing brace for the class must have an empty | |
| | line before it | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_comment_quote/dru_comment_quote.module | |
---------------------------------------------------------------------- | |
FOUND 5 ERRORS AFFECTING 4 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [ ] Missing short description in doc comment | |
50 | ERROR | [ ] Missing parameter type | |
52 | ERROR | [ ] Return type missing for @return tag in function | |
| | comment | |
52 | ERROR | [ ] Description for the @return value is missing | |
60 | ERROR | [x] Inline comments must end in full-stops, exclamation | |
| | marks, colons, question marks, or closing | |
| | parentheses | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_comment_quote/dru_comment_quote.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/dru_comment_quote/dru_comment_quote.install | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
3 | ERROR | Missing short description in doc comment | |
---------------------------------------------------------------------- | |
FILE: /work/simple_events/templates/upcoming--blocklist.tpl.php | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/simple_events/templates/node--simple_event--block.tpl.php | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/simple_events/simple_events.install | |
---------------------------------------------------------------------- | |
FOUND 8 ERRORS AND 1 WARNING AFFECTING 9 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
5 | ERROR | [x] There must be exactly one blank line after the | |
| | file comment | |
11 | ERROR | [x] Expected 1 blank line before function; 2 found | |
15 | ERROR | [ ] Do not use t() or st() in installation phase | |
| | hooks, use $t = get_t() to retrieve the | |
| | appropriate localization function name | |
30 | WARNING | [ ] Unused variable $t. | |
77 | ERROR | [x] Expected 1 blank line after function; 2 found | |
163 | ERROR | [x] Expected 1 blank line after function; 2 found | |
181 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
184 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/simple_events/simple_events.module | |
---------------------------------------------------------------------- | |
FOUND 14 ERRORS AND 14 WARNINGS AFFECTING 28 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
5 | ERROR | [x] There must be exactly one blank line after the | |
| | file comment | |
11 | ERROR | [x] Expected 1 blank line before function; 2 found | |
48 | ERROR | [x] Expected 1 blank line after function; 2 found | |
61 | WARNING | [ ] All variables defined by your module must be | |
| | prefixed with your module's name to avoid name | |
| | collisions with others. Expected start with | |
| | "simple_events" but found | |
| | "upcoming_events_block_count" | |
62 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
174 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
186 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
197 | WARNING | [ ] Translatable strings must not begin or end with | |
| | white spaces, use placeholders with t() for | |
| | variables | |
211 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ) | |
212 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ) | |
264 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: TRUE | |
270 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
271 | ERROR | [x] There must be no blank lines after the function | |
| | comment | |
290 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
291 | ERROR | [x] There must be no blank lines after the function | |
| | comment | |
310 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
334 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
335 | ERROR | [x] There must be no blank lines after the function | |
| | comment | |
359 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: vid | |
372 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
373 | ERROR | [x] There must be no blank lines after the function | |
| | comment | |
386 | ERROR | [x] Expected 1 space after "=>"; 2 found | |
398 | ERROR | [x] Array indentation error, expected 6 spaces but | |
| | found 8 | |
399 | ERROR | [x] Array indentation error, expected 6 spaces but | |
| | found 8 | |
400 | ERROR | [x] Array closing indentation error, expected 4 | |
| | spaces but found 2 | |
426 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: ) | |
540 | ERROR | [ ] Doc comment is empty | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/darkmatter/darkmatter.module | |
---------------------------------------------------------------------- | |
FOUND 10 ERRORS AND 4 WARNINGS AFFECTING 11 LINES | |
---------------------------------------------------------------------- | |
23 | WARNING | [ ] Unused variable $language. | |
140 | WARNING | [ ] Line exceeds 80 characters; contains 82 | |
| | characters | |
141 | WARNING | [ ] Line exceeds 80 characters; contains 112 | |
| | characters | |
141 | ERROR | [x] Line indented incorrectly; expected 2 spaces, | |
| | found 0 | |
141 | ERROR | [ ] Comment indentation error, expected only 1 | |
| | spaces | |
141 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
175 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
177 | ERROR | [x] Array indentation error, expected 6 spaces but | |
| | found 4 | |
178 | ERROR | [x] Array closing indentation error, expected 4 | |
| | spaces but found 2 | |
265 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
267 | ERROR | [x] Array indentation error, expected 6 spaces but | |
| | found 4 | |
268 | ERROR | [x] Array closing indentation error, expected 4 | |
| | spaces but found 2 | |
334 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
654 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/darkmatter/darkmatter.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/darkmatter/darkmatter.install | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | Missing short description in doc comment | |
73 | WARNING | Unused variable $uids. | |
---------------------------------------------------------------------- | |
FILE: /work/darkmatter/README.md | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
2 | WARNING | Line exceeds 80 characters; contains 183 characters | |
---------------------------------------------------------------------- | |
FILE: /work/dru_solve_mark/dru_solve_mark.module | |
---------------------------------------------------------------------- | |
FOUND 9 ERRORS AND 3 WARNINGS AFFECTING 11 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
4 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() | |
| | for xyz-bar.html.twig.", "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or | |
| | "* Implements hook_foo_BAR_ID_bar() for block | |
| | templates." | |
6 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 | |
| | found | |
11 | ERROR | [x] Doc comment short description must start with a | |
| | capital letter | |
13 | ERROR | [x] Expected 1 space before opening brace; found 0 | |
14 | ERROR | [x] Expected 1 space after IF keyword; 0 found | |
15 | ERROR | [x] Whitespace found at end of line | |
17 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
17 | ERROR | [x] Expected 1 space after closing parenthesis; found | |
| | 0 | |
23 | ERROR | [x] Whitespace found at end of line | |
29 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() | |
| | for xyz-bar.html.twig.", "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or | |
| | "* Implements hook_foo_BAR_ID_bar() for block | |
| | templates." | |
32 | WARNING | [ ] Do not use drupal_add_css() in hook_init(), use | |
| | #attached for CSS and JS in your page/form | |
| | callback or in hook_page_build() instead | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_solve_mark/dru_solve_mark.css | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
2 | ERROR | [x] CSS colours must be defined in lowercase; expected | |
| | #39b5f2 but found #39B5F2 | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_solve_mark/dru_solve_mark.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/drurum/drurum.module | |
---------------------------------------------------------------------- | |
FOUND 22 ERRORS AND 2 WARNINGS AFFECTING 21 LINES | |
---------------------------------------------------------------------- | |
4 | ERROR | [x] The second line in the file doc comment must be | |
| | "@file" | |
7 | ERROR | [ ] Doc comment short description must be on a | |
| | single line, further text should be a separate | |
| | paragraph | |
19 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
22 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
93 | ERROR | [ ] The $text argument to l() should be enclosed | |
| | within t() so that it is translatable | |
230 | WARNING | [ ] Line exceeds 80 characters; contains 84 | |
| | characters | |
276 | ERROR | [ ] Missing parameter comment | |
276 | ERROR | [ ] Missing parameter type | |
276 | ERROR | [x] Tag value indented incorrectly; expected 1 space | |
| | but found 6 | |
277 | ERROR | [ ] Missing parameter comment | |
279 | ERROR | [ ] Description for the @return value is missing | |
281 | ERROR | [x] Trailing punctuation for @see references is not | |
| | allowed. | |
283 | ERROR | [ ] Type hint "null" missing for $title | |
292 | WARNING | [ ] Unused variable $option. | |
309 | ERROR | [x] Missing function doc comment | |
344 | ERROR | [x] Missing function doc comment | |
348 | ERROR | [x] Object operator not indented correctly; expected | |
| | 6 spaces but found 8 | |
358 | ERROR | [x] Missing function doc comment | |
391 | ERROR | [x] Missing function doc comment | |
404 | ERROR | [ ] Missing short description in doc comment | |
405 | ERROR | [ ] Missing parameter comment | |
405 | ERROR | [ ] Missing parameter type | |
407 | ERROR | [ ] Description for the @return value is missing | |
431 | ERROR | [x] Missing function doc comment | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/drurum/includes/drurum.admin.inc | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES | |
---------------------------------------------------------------------- | |
20 | WARNING | Translatable strings must not begin or end with white | |
| | spaces, use placeholders with t() for variables | |
21 | ERROR | Concatenating translatable strings is not allowed, | |
| | use placeholders instead and only one string literal | |
---------------------------------------------------------------------- | |
FILE: /work/drurum/drurum.install | |
---------------------------------------------------------------------- | |
FOUND 130 ERRORS AND 3 WARNINGS AFFECTING 84 LINES | |
---------------------------------------------------------------------- | |
4 | ERROR | [x] Doc comment short description must be on the | |
| | first line | |
78 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
165 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
176 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
258 | ERROR | [x] Each index in a multi-line array must be on a | |
| | new line | |
258 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: 'text_with_summary' | |
283 | WARNING | [x] A comma should follow the last multiline array | |
| | item. Found: '<div class="col-sm-7 col-vsd-8 | |
| | col-sm-offset-1 text-center"><p | |
| | class="lead"><span style="font-weight: | |
| | 300;">Drupal (Дрýпал)</span> - | |
| | является открытой | |
| | платформой управления | |
| | контентом для миллионов | |
| | веб-сайтов и приложений. | |
| | Он создан активным и | |
| | разнообразным | |
| | сообществом людей по | |
| | всему миру.<br>Благодаря | |
| | мощному функционалу | |
| | Друпала, разрабатывать | |
| | сложные сайты значительно | |
| | проще, чем писать их с | |
| | нуля.</p></div><div class="col-sm-4 | |
| | col-vsd-3 text-center"><a href="/downloads" | |
| | class="lead download-drupal-front"><i class="fa | |
| | fa-drupal fa-4x"></i><br>Скачать | |
| | Drupal!</a></div>' | |
294 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
295 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
296 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
297 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
298 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
299 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
307 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
309 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
309 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 2 | |
310 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
311 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
312 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
314 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
314 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 2 | |
315 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
316 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
318 | ERROR | [x] No space found before comment text; expected "// | |
| | enable recaptcha" but found "//enable recaptcha" | |
318 | ERROR | [x] Inline comments must start with a capital letter | |
318 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
321 | ERROR | [x] Inline comments must start with a capital letter | |
321 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
324 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
332 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
334 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
334 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 2 | |
335 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
336 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
350 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
358 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
371 | ERROR | [x] Expected 1 space between comma and "'2057'"; 0 | |
| | found | |
371 | ERROR | [x] Expected one space after the comma, 0 found | |
371 | ERROR | [x] Expected 1 space between comma and "'3769'"; 0 | |
| | found | |
371 | ERROR | [x] Expected one space after the comma, 0 found | |
386 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
395 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
395 | ERROR | [x] Expected one space after the comma, 0 found | |
396 | ERROR | [x] There should be no white space after an opening | |
| | "(" | |
396 | ERROR | [x] There should be no white space before a closing | |
| | ")" | |
398 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 4 | |
398 | ERROR | [x] Object operator not indented correctly; expected | |
| | 6 spaces but found 4 | |
399 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 4 | |
400 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 4 | |
405 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
425 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
442 | ERROR | [x] Whitespace found at end of line | |
450 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
457 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
457 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 2 | |
462 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
465 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
465 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 2 | |
470 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
473 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
473 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 2 | |
478 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
480 | ERROR | [x] Line indented incorrectly; expected 2 spaces, | |
| | found 4 | |
481 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
481 | ERROR | [x] Object operator not indented correctly; expected | |
| | 6 spaces but found 2 | |
486 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
490 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
498 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
503 | ERROR | [x] 2 spaces found before inline comment; expected | |
| | "// Get field id by name" but found "// Get | |
| | field id by name" | |
503 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
510 | ERROR | [x] Inline comments must start with a capital letter | |
510 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
512 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
514 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 4 | |
514 | ERROR | [x] Object operator not indented correctly; expected | |
| | 6 spaces but found 4 | |
515 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 4 | |
517 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
524 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
534 | WARNING | [ ] Line exceeds 80 characters; contains 97 | |
| | characters | |
534 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
539 | ERROR | [x] 2 spaces found before inline comment; expected | |
| | "// Get field id by name" but found "// Get | |
| | field id by name" | |
539 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
546 | ERROR | [x] Inline comments must start with a capital letter | |
546 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
548 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
550 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 4 | |
550 | ERROR | [x] Object operator not indented correctly; expected | |
| | 6 spaces but found 4 | |
551 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 4 | |
553 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
560 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
570 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
598 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
603 | ERROR | [x] 2 spaces found before inline comment; expected | |
| | "// Get field id by name" but found "// Get | |
| | field id by name" | |
603 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
610 | ERROR | [x] Inline comments must start with a capital letter | |
610 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
612 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
614 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 4 | |
614 | ERROR | [x] Object operator not indented correctly; expected | |
| | 6 spaces but found 4 | |
615 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | |
| | found 4 | |
617 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
624 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
640 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
648 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
652 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
652 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 2 | |
657 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
661 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
668 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
668 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 2 | |
673 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
673 | ERROR | [x] Object operator not indented correctly; expected | |
| | 4 spaces but found 2 | |
678 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
679 | ERROR | [x] Expected 1 newline at end of file; 2 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 130 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/drurum/drurum.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/validate_api/validate_api.module | |
---------------------------------------------------------------------- | |
FOUND 35 ERRORS AND 5 WARNINGS AFFECTING 35 LINES | |
---------------------------------------------------------------------- | |
6 | ERROR | [ ] Doc comment short description must be on a | |
| | single line, further text should be a separate | |
| | paragraph | |
19 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
46 | ERROR | [ ] Doc comment short description must be on a | |
| | single line, further text should be a separate | |
| | paragraph | |
67 | ERROR | [x] Expected 1 blank line after function; 2 found | |
95 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
104 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
105 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
117 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
128 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
140 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
141 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
151 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
152 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
178 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
193 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
198 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
204 | WARNING | [ ] Unused variable $comment_field. | |
222 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
223 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
236 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
237 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
250 | WARNING | [ ] Line exceeds 80 characters; contains 90 | |
| | characters | |
251 | ERROR | [ ] Comment indentation error, expected only 1 | |
| | spaces | |
252 | WARNING | [ ] Line exceeds 80 characters; contains 83 | |
| | characters | |
254 | ERROR | [ ] Comment indentation error, expected only 3 | |
| | spaces | |
256 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
262 | ERROR | [ ] Missing parameter comment | |
262 | ERROR | [ ] Missing parameter type | |
263 | ERROR | [ ] Missing parameter comment | |
263 | ERROR | [ ] Missing parameter type | |
265 | ERROR | [ ] Description for the @return value is missing | |
287 | ERROR | [ ] Description for the @return value is missing | |
335 | ERROR | [ ] Missing parameter comment | |
335 | ERROR | [ ] Missing parameter type | |
336 | ERROR | [ ] Missing parameter comment | |
336 | ERROR | [ ] Missing parameter type | |
337 | ERROR | [ ] Missing parameter comment | |
337 | ERROR | [ ] Missing parameter type | |
433 | WARNING | [ ] Unused variable $existen_validator. | |
453 | WARNING | [ ] Unused variable $validator. | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 19 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: .../validate_api/antiswearing_validate/antiswearing_validate.module | |
---------------------------------------------------------------------- | |
FOUND 6 ERRORS AFFECTING 6 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] The PHP open tag must be followed by exactly one | |
| | blank line | |
2 | ERROR | [ ] Missing short description in doc comment | |
6 | ERROR | [x] There must be one blank line after the last USE | |
| | statement; 2 found; | |
12 | ERROR | [x] Expected 1 blank line before function; 2 found | |
26 | ERROR | [ ] Doc comment short description must be on a single | |
| | line, further text should be a separate paragraph | |
38 | ERROR | [x] Inline comments must end in full-stops, exclamation | |
| | marks, colons, question marks, or closing | |
| | parentheses | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...rk/validate_api/antiswearing_validate/antiswearing_validate.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: ...ork/validate_api/antiswearing_validate/obscene/obscene.class.php | |
---------------------------------------------------------------------- | |
FOUND 46 ERRORS AFFECTING 44 LINES | |
---------------------------------------------------------------------- | |
5 | ERROR | [x] Missing class doc comment | |
11 | ERROR | [ ] Class property $LT_P should use lowerCamel naming | |
| | without underscores | |
12 | ERROR | [ ] Class property $LT_I should use lowerCamel naming | |
| | without underscores | |
13 | ERROR | [ ] Class property $LT_E should use lowerCamel naming | |
| | without underscores | |
14 | ERROR | [ ] Class property $LT_D should use lowerCamel naming | |
| | without underscores | |
15 | ERROR | [ ] Class property $LT_Z should use lowerCamel naming | |
| | without underscores | |
16 | ERROR | [ ] Class property $LT_M should use lowerCamel naming | |
| | without underscores | |
17 | ERROR | [ ] Class property $LT_U should use lowerCamel naming | |
| | without underscores | |
18 | ERROR | [ ] Class property $LT_O should use lowerCamel naming | |
| | without underscores | |
19 | ERROR | [ ] Class property $LT_L should use lowerCamel naming | |
| | without underscores | |
20 | ERROR | [ ] Class property $LT_S should use lowerCamel naming | |
| | without underscores | |
21 | ERROR | [ ] Class property $LT_A should use lowerCamel naming | |
| | without underscores | |
22 | ERROR | [ ] Class property $LT_N should use lowerCamel naming | |
| | without underscores | |
23 | ERROR | [ ] Class property $LT_G should use lowerCamel naming | |
| | without underscores | |
24 | ERROR | [ ] Class property $LT_CH should use lowerCamel naming | |
| | without underscores | |
25 | ERROR | [ ] Class property $LT_K should use lowerCamel naming | |
| | without underscores | |
26 | ERROR | [ ] Class property $LT_C should use lowerCamel naming | |
| | without underscores | |
27 | ERROR | [ ] Class property $LT_R should use lowerCamel naming | |
| | without underscores | |
28 | ERROR | [ ] Class property $LT_H should use lowerCamel naming | |
| | without underscores | |
29 | ERROR | [ ] Class property $LT_YI should use lowerCamel naming | |
| | without underscores | |
30 | ERROR | [ ] Class property $LT_YA should use lowerCamel naming | |
| | without underscores | |
31 | ERROR | [ ] Class property $LT_YO should use lowerCamel naming | |
| | without underscores | |
32 | ERROR | [ ] Class property $LT_YU should use lowerCamel naming | |
| | without underscores | |
33 | ERROR | [ ] Class property $LT_B should use lowerCamel naming | |
| | without underscores | |
34 | ERROR | [ ] Class property $LT_T should use lowerCamel naming | |
| | without underscores | |
35 | ERROR | [ ] Class property $LT_HS should use lowerCamel naming | |
| | without underscores | |
36 | ERROR | [ ] Class property $LT_SS should use lowerCamel naming | |
| | without underscores | |
37 | ERROR | [ ] Class property $LT_Y should use lowerCamel naming | |
| | without underscores | |
123 | ERROR | [x] Missing function doc comment | |
127 | ERROR | [x] Missing function doc comment | |
132 | ERROR | [x] Missing function doc comment | |
138 | ERROR | [x] Missing function doc comment | |
139 | ERROR | [x] Opening brace should be on the same line as the | |
| | declaration | |
143 | ERROR | [x] Functions must not contain multiple empty lines in | |
| | a row; found 2 empty lines | |
195 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
200 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
207 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken into | |
| | its own line | |
217 | ERROR | [x] Missing function doc comment | |
218 | ERROR | [x] Opening brace should be on the same line as the | |
| | declaration | |
228 | ERROR | [x] Space found before square bracket; expected | |
| | "$asterisks[" but found "$asterisks [" | |
228 | ERROR | [x] Expected 1 space before "="; 0 found | |
237 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
238 | ERROR | [x] Expected newline after closing brace | |
243 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
247 | ERROR | [ ] Closing class brace must be on a line by itself | |
247 | ERROR | [x] Whitespace found at end of line | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/validate_api/validate_api.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/validate_api/antinoob_validate/antinoob_validate.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/validate_api/antinoob_validate/antinoob_validate.module | |
---------------------------------------------------------------------- | |
FOUND 7 ERRORS AND 1 WARNING AFFECTING 8 LINES | |
---------------------------------------------------------------------- | |
11 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | |
| | Implements hook_foo_BAR_ID_bar() for | |
| | xyz_bar().",, "* Implements | |
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | |
| | "* Implements hook_foo_BAR_ID_bar() for | |
| | xyz-bar.tpl.php.", or "* Implements | |
| | hook_foo_BAR_ID_bar() for block templates." | |
12 | ERROR | [ ] Doc comment short description must be on a | |
| | single line, further text should be a separate | |
| | paragraph | |
54 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
88 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
92 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
115 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
127 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
131 | ERROR | [x] Expected 1 space after closing parenthesis; | |
| | found 0 | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/validate_api/validate_api.install | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
3 | ERROR | Missing short description in doc comment | |
---------------------------------------------------------------------- | |
FILE: /work/validate_api/includes/validate_api.pages.inc | |
---------------------------------------------------------------------- | |
FOUND 13 ERRORS AND 1 WARNING AFFECTING 14 LINES | |
---------------------------------------------------------------------- | |
5 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
9 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
15 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
20 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
32 | WARNING | [ ] Unused variable $comment. | |
41 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "TRUE" but found "true" | |
42 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "FALSE" but found "false" | |
54 | ERROR | [ ] The $text argument to l() should be enclosed | |
| | within t() so that it is translatable | |
60 | ERROR | [ ] If the line declaring an array spans longer than | |
| | 80 characters, each element should be broken | |
| | into its own line | |
64 | ERROR | [x] Functions must not contain multiple empty lines | |
| | in a row; found 2 empty lines | |
102 | ERROR | [x] Doc comment short description must end with a | |
| | full stop | |
111 | ERROR | [ ] Description for the @return value is missing | |
122 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "NULL" but found "null" | |
124 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | |
| | "NULL" but found "null" | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/validate_api/README.md | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 11 WARNINGS AFFECTING 11 LINES | |
---------------------------------------------------------------------- | |
5 | WARNING | Line exceeds 80 characters; contains 82 characters | |
7 | WARNING | Line exceeds 80 characters; contains 110 characters | |
8 | WARNING | Line exceeds 80 characters; contains 82 characters | |
69 | WARNING | Line exceeds 80 characters; contains 148 characters | |
73 | WARNING | Line exceeds 80 characters; contains 114 characters | |
76 | WARNING | Line exceeds 80 characters; contains 85 characters | |
85 | WARNING | Line exceeds 80 characters; contains 149 characters | |
86 | WARNING | Line exceeds 80 characters; contains 116 characters | |
87 | WARNING | Line exceeds 80 characters; contains 130 characters | |
93 | WARNING | Line exceeds 80 characters; contains 143 characters | |
95 | WARNING | Line exceeds 80 characters; contains 101 characters | |
---------------------------------------------------------------------- | |
FILE: /work/dru_bookmark/dru_bookmark.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/dru_bookmark/dru_bookmark.pages.inc | |
---------------------------------------------------------------------- | |
FOUND 22 ERRORS AFFECTING 18 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
3 | ERROR | [ ] Doc comment is empty | |
8 | ERROR | [x] Whitespace found at end of line | |
18 | ERROR | [x] Whitespace found at end of line | |
26 | ERROR | [x] Whitespace found at end of line | |
29 | ERROR | [x] Whitespace found at end of line | |
30 | ERROR | [x] Expected 1 space after IF keyword; 0 found | |
30 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 | |
33 | ERROR | [x] Whitespace found at end of line | |
38 | ERROR | [x] Whitespace found at end of line | |
40 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
40 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 | |
41 | ERROR | [x] Whitespace found at end of line | |
44 | ERROR | [x] Expected 1 space after IF keyword; 0 found | |
44 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 | |
45 | ERROR | [ ] If the line declaring an array spans longer than 80 | |
| | characters, each element should be broken into its | |
| | own line | |
46 | ERROR | [x] Expected newline after closing brace | |
46 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found | |
51 | ERROR | [x] Whitespace found at end of line | |
56 | ERROR | [x] Whitespace found at end of line | |
61 | ERROR | [x] Whitespace found at end of line | |
63 | ERROR | [x] Whitespace found at end of line | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 20 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_bookmark/dru_bookmark.install | |
---------------------------------------------------------------------- | |
FOUND 3 ERRORS AFFECTING 3 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
48 | ERROR | [x] Whitespace found at end of line | |
57 | ERROR | [x] Whitespace found at end of line | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_bookmark/dru_bookmark.module | |
---------------------------------------------------------------------- | |
FOUND 30 ERRORS AND 3 WARNINGS AFFECTING 33 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
8 | ERROR | [x] Whitespace found at end of line | |
16 | ERROR | [x] Whitespace found at end of line | |
25 | ERROR | [x] Whitespace found at end of line | |
34 | ERROR | [x] Whitespace found at end of line | |
38 | ERROR | [x] Whitespace found at end of line | |
40 | ERROR | [x] Whitespace found at end of line | |
41 | ERROR | [x] Expected one space after the comma, 0 found | |
45 | ERROR | [ ] Doc comment is empty | |
56 | ERROR | [x] Array closing indentation error, expected 4 | |
| | spaces but found 2 | |
57 | ERROR | [x] Whitespace found at end of line | |
61 | ERROR | [ ] Doc comment is empty | |
65 | ERROR | [x] Whitespace found at end of line | |
70 | ERROR | [x] Whitespace found at end of line | |
81 | ERROR | [x] Whitespace found at end of line | |
95 | ERROR | [x] Whitespace found at end of line | |
99 | ERROR | [ ] Doc comment is empty | |
103 | ERROR | [x] Whitespace found at end of line | |
107 | ERROR | [x] Whitespace found at end of line | |
108 | WARNING | [ ] Unused variable $callback. | |
109 | ERROR | [x] Whitespace found at end of line | |
113 | ERROR | [ ] Doc comment is empty | |
117 | ERROR | [x] Whitespace found at end of line | |
119 | ERROR | [x] Whitespace found at end of line | |
121 | ERROR | [x] Whitespace found at end of line | |
123 | ERROR | [x] Whitespace found at end of line | |
125 | ERROR | [x] Whitespace found at end of line | |
131 | ERROR | [x] Whitespace found at end of line | |
133 | ERROR | [x] Whitespace found at end of line | |
140 | ERROR | [ ] Doc comment is empty | |
154 | WARNING | [ ] Unused variable $result. | |
157 | ERROR | [ ] Doc comment is empty | |
164 | WARNING | [ ] Unused variable $result. | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/dru_forum/dru_forum.module | |
---------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
3 | ERROR | Missing short description in doc comment | |
---------------------------------------------------------------------- | |
FILE: /work/dru_forum/dru_forum.install | |
---------------------------------------------------------------------- | |
FOUND 2 ERRORS AFFECTING 2 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | Missing short description in doc comment | |
10 | ERROR | Empty installation hooks are not necessary | |
---------------------------------------------------------------------- | |
FILE: /work/dru_forum/dru_forum.info | |
---------------------------------------------------------------------- | |
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
---------------------------------------------------------------------- | |
1 | WARNING | Remove "version" from the info file, it will be added | |
| | by drupal.org packaging automatically | |
---------------------------------------------------------------------- | |
FILE: /work/resolve/resolve.module | |
---------------------------------------------------------------------- | |
FOUND 15 ERRORS AND 1 WARNING AFFECTING 15 LINES | |
---------------------------------------------------------------------- | |
106 | ERROR | [ ] Parameter tags must be grouped together in a doc | |
| | comment | |
109 | ERROR | [ ] Parameter tags must be grouped together in a doc | |
| | comment | |
218 | ERROR | [x] 2 spaces found before inline comment; expected | |
| | "// if (isset($variables['node']) && | |
| | is_object($variables['node'])) {" but found "// | |
| | if (isset($variables['node']) && | |
| | is_object($variables['node'])) {" | |
218 | ERROR | [x] Inline comments must start with a capital letter | |
219 | ERROR | [ ] Comment indentation error, expected only 2 | |
| | spaces | |
220 | WARNING | [ ] Line exceeds 80 characters; contains 87 | |
| | characters | |
221 | ERROR | [x] Inline comments must end in full-stops, | |
| | exclamation marks, colons, question marks, or | |
| | closing parentheses | |
230 | ERROR | [ ] Description for the @return value is missing | |
260 | ERROR | [ ] Description for the @return value is missing | |
270 | ERROR | [x] Expected newline after closing brace | |
288 | ERROR | [ ] Parameter tags must be grouped together in a doc | |
| | comment | |
291 | ERROR | [ ] Type hint "array" missing for $commands | |
332 | ERROR | [ ] Doc comment for parameter $title does not match | |
| | actual variable name $resolved | |
335 | ERROR | [x] Parameter comment must end with a full stop | |
409 | ERROR | [ ] Missing parameter type | |
418 | ERROR | [x] Missing function doc comment | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /work/resolve/resolve.install | |
---------------------------------------------------------------------- | |
FOUND 2 ERRORS AFFECTING 2 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Missing file doc comment | |
10 | ERROR | [x] Expected 1 blank line after function; 2 found | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
Time: 2.02 secs; Memory: 22Mb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cd sites/all/modules/custom && docker run --rm -v $(pwd):/work skilldlabs/docker-phpcs-drupal phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info .