- 🇮🇹Italy apaderno Brescia, 🇮🇹
The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, show which command and arguments have been used, and which report that command shown.
- Assigned to imustakim
- 🇨🇦Canada imustakim Canada
Problem/Motivation
FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/drupalchat.module -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 280 ERRORS AND 34 WARNINGS AFFECTING 159 LINES -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 8 | WARNING | [ ] Global constants should not be used, move it to a class or interface 9 | WARNING | [ ] Global constants should not be used, move it to a class or interface 10 | WARNING | [ ] Global constants should not be used, move it to a class or interface 11 | WARNING | [ ] Global constants should not be used, move it to a class or interface 13 | WARNING | [ ] Global constants should not be used, move it to a class or interface 14 | WARNING | [ ] Global constants should not be used, move it to a class or interface 15 | WARNING | [ ] Global constants should not be used, move it to a class or interface 17 | WARNING | [ ] Global constants should not be used, move it to a class or interface 18 | WARNING | [ ] Global constants should not be used, move it to a class or interface 19 | WARNING | [ ] Global constants should not be used, move it to a class or interface 20 | WARNING | [ ] Global constants should not be used, move it to a class or interface 22 | ERROR | [x] Expected 1 space after IF keyword; 0 found 22 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 26 | ERROR | [x] Expected 1 space after IF keyword; 0 found 26 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 30 | ERROR | [x] Expected 1 space after IF keyword; 0 found 30 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 34 | ERROR | [x] Expected 1 space after IF keyword; 0 found 34 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 38 | ERROR | [x] Expected 1 space after IF keyword; 0 found 38 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 42 | ERROR | [x] No space found before comment text; expected "// use Drupal\drupalchat\Controller;" but found "//use Drupal\drupalchat\Controller;" 42 | ERROR | [x] Inline comments must start with a capital letter 42 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 44 | WARNING | [x] Unused use statement 45 | WARNING | [x] Unused use statement 46 | WARNING | [x] Unused use statement 48 | WARNING | [x] Unused use statement 49 | WARNING | [x] Unused use statement 51 | WARNING | [x] Unused use statement 55 | WARNING | [x] Unused use statement 55 | ERROR | [x] There must be one blank line after the last USE statement; 2 found; 59 | 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." 59 | ERROR | [x] Doc comment short description must end with a full stop 61 | ERROR | [x] Expected 1 blank line before function; 2 found 61 | ERROR | [x] Expected 1 space before opening brace; found 0 63 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 63 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 64 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 64 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 64 | ERROR | [x] Expected 1 space after IF keyword; 0 found 65 | ERROR | [x] Expected 1 space before "-"; 0 found 65 | ERROR | [x] Expected 1 space after "-"; 0 found 66 | ERROR | [x] Expected 1 space before "-"; 0 found 66 | ERROR | [x] Expected 1 space after "-"; 0 found 67 | ERROR | [x] Expected 1 space before "-"; 0 found 67 | ERROR | [x] Expected 1 space after "-"; 0 found 68 | ERROR | [x] Closing brace indented incorrectly; expected 1 spaces, found 2 70 | ERROR | [x] Concat operator must be surrounded by a single space 73 | ERROR | [x] Expected 1 space after TRY keyword; 0 found 74 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 74 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 75 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 77 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 77 | WARNING | [x] A comma should follow the last multiline array item. Found: NULL 78 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 81 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found 81 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 82 | ERROR | [x] Short array syntax must be used to define arrays 84 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 88 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found 88 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 89 | ERROR | [x] Short array syntax must be used to define arrays 91 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 96 | ERROR | [x] Expected 1 space after IF keyword; 0 found 96 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 100 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 3 100 | ERROR | [x] Closing brace indented incorrectly; expected 2 spaces, found 3 102 | ERROR | [x] Expected 1 blank line after function; 2 found 105 | ERROR | [x] Missing function doc comment 108 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 108 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 108 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 109 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 109 | ERROR | [x] Whitespace found at end of line 110 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 110 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 110 | ERROR | [x] Expected 1 space after IF keyword; 0 found 110 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 110 | ERROR | [x] There should be no white space after an opening "{" 110 | WARNING | [ ] Line exceeds 80 characters; contains 139 characters 110 | ERROR | [x] Comments may not appear after statements 110 | ERROR | [x] No space found before comment text; expected "// polling method is iFlyChat Server" but found "//polling method is iFlyChat Server" 110 | ERROR | [x] Inline comments must start with a capital letter 110 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 111 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 111 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 111 | ERROR | [x] Expected 1 space after IF keyword; 0 found 111 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 112 | ERROR | [x] Expected 1 space after IF keyword; 0 found 115 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 115 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 115 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 115 | ERROR | [x] No space found before comment text; expected "// if(\Drupal::config('drupalchat.settings')->get('drupalchat_rel') == "0" && 0){" but found "//if(\Drupal::config('drupalchat.settings')->get('drupalchat_rel') == "0" | | && 0){" 115 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 116 | ERROR | [x] Expected 1 space after IF keyword; 0 found 116 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 117 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 117 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 5 117 | ERROR | [x] Expected 1 space after IF keyword; 0 found 117 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 118 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 118 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 7 119 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 119 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 7 120 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 120 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 5 121 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 121 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 121 | ERROR | [x] Closing brace indented incorrectly; expected 6 spaces, found 4 122 | ERROR | [x] Whitespace found at end of line 123 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 123 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 123 | ERROR | [x] Expected 1 space after IF keyword; 0 found 123 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 124 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 124 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 5 124 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 124 | ERROR | [x] Short array syntax must be used to define arrays 124 | ERROR | [ ] The array declaration extends to column 140 (the limit is 80). The array content should be split up over multiple lines 124 | ERROR | [x] Short array syntax must be used to define arrays 124 | ERROR | [ ] The array declaration extends to column 138 (the limit is 80). The array content should be split up over multiple lines 124 | ERROR | [x] Comma not allowed after last value in single-line array declaration 124 | ERROR | [x] Comma not allowed after last value in single-line array declaration 125 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 125 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 5 126 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 126 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 5 127 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 127 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 129 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 129 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 131 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 131 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 131 | ERROR | [x] Expected 1 space after IF keyword; 0 found 131 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 132 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 132 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 5 132 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 132 | ERROR | [x] Whitespace found at end of line 133 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 133 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 133 | ERROR | [x] Expected newline after closing brace 133 | ERROR | [x] Use "elseif" in place of "else if" 133 | ERROR | [x] Expected 1 space after IF keyword; 0 found 133 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 134 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 134 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 5 134 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 134 | ERROR | [x] Whitespace found at end of line 135 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 135 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 135 | ERROR | [x] Expected newline after closing brace 135 | ERROR | [x] Use "elseif" in place of "else if" 135 | ERROR | [x] Expected 1 space after IF keyword; 0 found 135 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 136 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 136 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 5 136 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 136 | ERROR | [x] Whitespace found at end of line 137 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 137 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 138 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 138 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 139 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 139 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 139 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 139 | ERROR | [x] Tab found before comment text; expected "// $attachments['#attached']['library'][] = 'drupalchat/drupalchat-popup';" but found "// $attachments['#attached']['library'][] = 'drupalchat/drupalchat-popup';" 139 | ERROR | [x] Whitespace found at end of line 140 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 140 | WARNING | [x] There must be no blank line following an inline comment 140 | WARNING | [ ] There must be no blank line following an inline comment 140 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 140 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 141 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 141 | ERROR | [x] Whitespace found at end of line 142 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 142 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 144 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 144 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 145 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 145 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 145 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 145 | ERROR | [x] Whitespace found at end of line 146 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 146 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 146 | ERROR | [x] Expected newline after closing brace 146 | ERROR | [x] Use "elseif" in place of "else if" 146 | ERROR | [x] Expected 1 space after IF keyword; 0 found 146 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 147 | ERROR | [x] Expected 1 space after IF keyword; 0 found 147 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 148 | ERROR | [x] Expected 1 space after IF keyword; 0 found 152 | ERROR | [x] Short array syntax must be used to define arrays 157 | ERROR | [x] Short array syntax must be used to define arrays 168 | ERROR | [x] Short array syntax must be used to define arrays 172 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 11 172 | ERROR | [x] Object operator not indented correctly; expected 12 spaces but found 11 173 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 11 177 | ERROR | [x] No space found before comment text; expected "// print_r('guest');" but found "//print_r('guest');" 177 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 179 | ERROR | [x] Expected 1 space after IF keyword; 0 found 185 | ERROR | [x] Short array syntax must be used to define arrays 185 | ERROR | [ ] The array declaration extends to column 151 (the limit is 80). The array content should be split up over multiple lines 185 | ERROR | [x] Comma not allowed after last value in single-line array declaration 186 | ERROR | [x] Expected 1 space after IF keyword; 0 found 189 | ERROR | [x] Expected 1 space after IF keyword; 0 found 190 | ERROR | [x] Line indented incorrectly; expected 14 spaces, found 16 190 | ERROR | [x] Concat operator must be surrounded by a single space 194 | ERROR | [x] Short array syntax must be used to define arrays 202 | ERROR | [x] No space found before comment text; expected "// drupal_write_record('drupalchat_users', $current_user);" but found "//drupal_write_record('drupalchat_users', $current_user);" 202 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 206 | ERROR | [x] Short array syntax must be used to define arrays 219 | ERROR | [x] Expected 1 space after IF keyword; 0 found 220 | ERROR | [x] Short array syntax must be used to define arrays 220 | ERROR | [ ] The array declaration extends to column 145 (the limit is 80). The array content should be split up over multiple lines 220 | ERROR | [x] Comma not allowed after last value in single-line array declaration 223 | ERROR | [x] Short array syntax must be used to define arrays 225 | ERROR | [x] Short array syntax must be used to define arrays 225 | ERROR | [x] Short array syntax must be used to define arrays 225 | ERROR | [ ] The array declaration extends to column 147 (the limit is 80). The array content should be split up over multiple lines 225 | ERROR | [x] Short array syntax must be used to define arrays 225 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 227 | ERROR | [x] Short array syntax must be used to define arrays 230 | ERROR | [x] Short array syntax must be used to define arrays 230 | ERROR | [x] Short array syntax must be used to define arrays 231 | ERROR | [x] Short array syntax must be used to define arrays 231 | ERROR | [x] Short array syntax must be used to define arrays 234 | ERROR | [x] Short array syntax must be used to define arrays 234 | ERROR | [x] Short array syntax must be used to define arrays 244 | ERROR | [x] Short array syntax must be used to define arrays 244 | ERROR | [x] Short array syntax must be used to define arrays 246 | ERROR | [x] Short array syntax must be used to define arrays 246 | ERROR | [x] Comma not allowed after last value in single-line array declaration 246 | ERROR | [x] Short array syntax must be used to define arrays 250 | ERROR | [x] Short array syntax must be used to define arrays 254 | ERROR | [x] Expected 1 space after IF keyword; 0 found 257 | ERROR | [x] Expected 1 space after IF keyword; 0 found 258 | ERROR | [x] Expected 1 space before "?"; 0 found 258 | ERROR | [x] Expected 1 space after "?"; 0 found 258 | ERROR | [x] Expected 1 space before ":"; 0 found 258 | ERROR | [x] Expected 1 space after ":"; 0 found 259 | ERROR | [x] Expected 1 space before "?"; 0 found 259 | ERROR | [x] Expected 1 space after "?"; 0 found 259 | ERROR | [x] Expected 1 space before ":"; 0 found 259 | ERROR | [x] Expected 1 space after ":"; 0 found 259 | ERROR | [x] Concat operator must be surrounded by a single space 260 | ERROR | [x] Short array syntax must be used to define arrays 260 | ERROR | [x] Short array syntax must be used to define arrays 264 | ERROR | [x] Expected 1 space after IF keyword; 0 found 265 | ERROR | [x] Expected 1 space after IF keyword; 0 found 268 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 269 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 270 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 272 | ERROR | [x] Expected 1 space after IF keyword; 0 found 276 | ERROR | [x] Expected 1 space after IF keyword; 0 found 276 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 278 | ERROR | [x] Expected newline after closing brace 278 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found 281 | ERROR | [x] Whitespace found at end of line 288 | ERROR | [x] Closing brace indented incorrectly; expected 1 spaces, found 2 288 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 288 | ERROR | [x] Whitespace found at end of line 302 | ERROR | [x] Expected 1 blank line after function; 2 found 309 | ERROR | [x] Expected 1 space before "+"; 0 found 309 | ERROR | [x] Expected 1 space after "+"; 0 found 310 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 310 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 310 | ERROR | [x] Expected 1 space after IF keyword; 0 found 311 | ERROR | [x] Expected 1 space before "-"; 0 found 311 | ERROR | [x] Expected 1 space after "-"; 0 found 312 | ERROR | [x] Expected 1 space before "-"; 0 found 312 | ERROR | [x] Expected 1 space after "-"; 0 found 313 | ERROR | [x] Expected 1 space before "-"; 0 found 313 | ERROR | [x] Expected 1 space after "-"; 0 found 314 | ERROR | [x] Closing brace indented incorrectly; expected 1 spaces, found 2 315 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters 315 | WARNING | [x] 'TODO Please review the conversion of this statement to the D7 database API syntax.' should match the format '@todo Fix problem X here.' 321 | ERROR | [x] Expected 1 blank line after function; 2 found 328 | ERROR | [x] Short array syntax must be used to define arrays 329 | ERROR | [x] Short array syntax must be used to define arrays 330 | ERROR | [x] Short array syntax must be used to define arrays 333 | ERROR | [x] Short array syntax must be used to define arrays 334 | ERROR | [x] Short array syntax must be used to define arrays 338 | ERROR | [x] Expected 1 blank line after function; 2 found 341 | ERROR | [x] Missing function doc comment 343 | ERROR | [x] Short array syntax must be used to define arrays 344 | ERROR | [x] Whitespace found at end of line 346 | ERROR | [x] Short array syntax must be used to define arrays 346 | ERROR | [x] Whitespace found at end of line 350 | ERROR | [x] Short array syntax must be used to define arrays 352 | WARNING | [x] A comma should follow the last multiline array item. Found: $module 354 | ERROR | [x] Short array syntax must be used to define arrays 354 | ERROR | [ ] The array declaration extends to column 97 (the limit is 80). The array content should be split up over multiple lines 357 | ERROR | [x] Short array syntax must be used to define arrays 362 | ERROR | [x] Short array syntax must be used to define arrays 362 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 364 | ERROR | [x] Whitespace found at end of line 366 | ERROR | [x] Whitespace found at end of line 367 | ERROR | [x] Expected 1 blank line after function; 2 found 375 | ERROR | [x] Expected 1 space after IF keyword; 0 found 384 | ERROR | [x] Expected 1 space after IF keyword; 0 found 386 | ERROR | [x] Expected 1 space before "*"; 0 found 386 | ERROR | [x] Expected 1 space after "*"; 0 found 386 | ERROR | [x] Expected 1 space before "*"; 0 found 386 | ERROR | [x] Expected 1 space after "*"; 0 found 386 | ERROR | [x] Expected 1 space before "*"; 0 found 386 | ERROR | [x] Expected 1 space after "*"; 0 found 389 | ERROR | [x] Expected 1 blank line after function; 3 found 392 | ERROR | [ ] More than 2 empty lines are not allowed 393 | ERROR | [x] Missing function doc comment 395 | WARNING | [ ] Unused variable $drupalchat. 395 | ERROR | [x] Short array syntax must be used to define arrays 396 | WARNING | [x] A comma should follow the last multiline array item. Found: 'drupalchat' -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 290 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/drupalchat.routing.yml -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 6 | WARNING | [ ] The administration page callback should probably use "administer site configuration" - which implies the user can change something - rather than "access administration pages" which is about viewing but not changing | | configurations. 14 | WARNING | [ ] The administration page callback should probably use "administer site configuration" - which implies the user can change something - rather than "access administration pages" which is about viewing but not changing | | configurations. 24 | WARNING | [ ] The administration page callback should probably use "administer site configuration" - which implies the user can change something - rather than "access administration pages" which is about viewing but not changing | | configurations. 34 | WARNING | [ ] The administration page callback should probably use "administer site configuration" - which implies the user can change something - rather than "access administration pages" which is about viewing but not changing | | configurations. 118 | ERROR | [x] Expected 1 newline at end of file; 0 found -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/css/themes/light/light.css ------------------------------------------------------------------------------------------------ FOUND 109 ERRORS AFFECTING 70 LINES ------------------------------------------------------------------------------------------------ 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n" 1 | ERROR | [x] Additional whitespace found at start of file 5 | ERROR | [x] Whitespace found at end of line 25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5 26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10 40 | ERROR | [x] Whitespace found at end of line 59 | ERROR | [x] Whitespace found at end of line 74 | ERROR | [x] Whitespace found at end of line 82 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 82 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 83 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 83 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 87 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 87 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 88 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 88 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 89 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 89 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 93 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 93 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 94 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 94 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 97 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 97 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 113 | ERROR | [x] Whitespace found at end of line 132 | ERROR | [x] Whitespace found at end of line 137 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found 145 | ERROR | [x] Whitespace found at end of line 147 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found 155 | ERROR | [x] Whitespace found at end of line 168 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 168 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 185 | ERROR | [x] Whitespace found at end of line 199 | ERROR | [x] Whitespace found at end of line 200 | ERROR | [x] Whitespace found at end of line 203 | ERROR | [x] CSS colours must be defined in lowercase; expected #eee but found #EEE 211 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 211 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 213 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 213 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 217 | ERROR | [x] Whitespace found at end of line 220 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 220 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 221 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 221 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 224 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 224 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 234 | ERROR | [x] Whitespace found at end of line 239 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 239 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 239 | ERROR | [x] CSS colours must be defined in lowercase; expected #f9f9f9 but found #F9F9F9 240 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 240 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 241 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 241 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 242 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 242 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 243 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 243 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 244 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 244 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 246 | ERROR | [ ] Class definition is empty 247 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 247 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 248 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 251 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 251 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 252 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 252 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 253 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 253 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 254 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 254 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 255 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 255 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 259 | ERROR | [x] Whitespace found at end of line 262 | ERROR | [x] Whitespace found at end of line 264 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 264 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 267 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 267 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 270 | ERROR | [x] Whitespace found at end of line 278 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 278 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 296 | ERROR | [x] CSS colours must be defined in lowercase; expected #c00 but found #C00 302 | ERROR | [x] CSS colours must be defined in lowercase; expected #eee but found #EEE 322 | ERROR | [x] CSS colours must be defined in lowercase; expected #ededed but found #EDEDED 327 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 327 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 328 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 328 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 328 | ERROR | [x] Whitespace found at end of line 331 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 331 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 362 | ERROR | [ ] Class definition is empty 365 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found 371 | ERROR | [x] CSS colours must be defined in lowercase; expected #fff but found #FFF 375 | ERROR | [x] Whitespace found at end of line 389 | ERROR | [x] Whitespace found at end of line 390 | ERROR | [x] Whitespace found at end of line 401 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 401 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 403 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 403 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 407 | ERROR | [x] Whitespace found at end of line 410 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 410 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 411 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 411 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 ------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 107 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------ FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/css/themes/dark/dark.css ------------------------------------------------------------------------------------------------ FOUND 106 ERRORS AFFECTING 70 LINES ------------------------------------------------------------------------------------------------ 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n" 1 | ERROR | [x] Additional whitespace found at start of file 5 | ERROR | [x] Whitespace found at end of line 25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5 26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10 40 | ERROR | [x] Whitespace found at end of line 44 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 44 | ERROR | [x] Whitespace found at end of line 51 | ERROR | [x] CSS colours must be defined in lowercase; expected #1d1d1d but found #1D1D1D 59 | ERROR | [x] CSS colours must be defined in lowercase; expected #1d1d1d but found #1D1D1D 59 | ERROR | [x] Whitespace found at end of line 63 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 63 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 64 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 64 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 70 | ERROR | [x] CSS colours must be defined in lowercase; expected #4c4c4c but found #4C4C4C 73 | ERROR | [x] CSS colours must be defined in lowercase; expected #4c4c4c but found #4C4C4C 74 | ERROR | [x] Whitespace found at end of line 82 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 82 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 83 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 83 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 87 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 87 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 88 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 88 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 89 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 89 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 93 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 93 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 94 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 94 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 94 | ERROR | [x] CSS colours must be defined in lowercase; expected #1d1d1d but found #1D1D1D 97 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 97 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 110 | ERROR | [x] Whitespace found at end of line 112 | ERROR | [x] Whitespace found at end of line 132 | ERROR | [x] Whitespace found at end of line 137 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found 145 | ERROR | [x] Whitespace found at end of line 147 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found 155 | ERROR | [x] Whitespace found at end of line 168 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 168 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 181 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 182 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 183 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 185 | ERROR | [x] Whitespace found at end of line 186 | ERROR | [x] CSS colours must be defined in lowercase; expected #4c4c4c but found #4C4C4C 193 | ERROR | [x] CSS colours must be defined in lowercase; expected #4c4c4c but found #4C4C4C 195 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 195 | ERROR | [x] Whitespace found at end of line 201 | ERROR | [x] Whitespace found at end of line 202 | ERROR | [x] Whitespace found at end of line 208 | ERROR | [x] CSS colours must be defined in lowercase; expected #4498c7 but found #4498C7 209 | ERROR | [x] CSS colours must be defined in lowercase; expected #5db1e0 but found #5DB1E0 217 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 217 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 222 | ERROR | [x] Whitespace found at end of line 225 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 225 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 226 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 226 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 229 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 229 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 239 | ERROR | [x] Whitespace found at end of line 244 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 244 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 244 | ERROR | [x] CSS colours must be defined in lowercase; expected #d8d8d8 but found #D8D8D8 245 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 245 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 246 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 246 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 247 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 247 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 248 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 248 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 251 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 251 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 252 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 252 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 253 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 253 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 254 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 254 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 255 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 255 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 259 | ERROR | [x] Whitespace found at end of line 262 | ERROR | [x] Whitespace found at end of line 264 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 264 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 267 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 267 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 270 | ERROR | [x] Whitespace found at end of line 277 | ERROR | [x] CSS colours must be defined in lowercase; expected #4498c7 but found #4498C7 280 | ERROR | [x] CSS colours must be defined in lowercase; expected #4c4c4c but found #4C4C4C 290 | ERROR | [x] CSS colours must be defined in lowercase; expected #4c4c4c but found #4C4C4C 304 | ERROR | [x] CSS colours must be defined in lowercase; expected #5db1e0 but found #5DB1E0 310 | ERROR | [x] CSS colours must be defined in lowercase; expected #ededed but found #EDEDED 314 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 314 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 315 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 315 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 315 | ERROR | [x] Whitespace found at end of line 336 | ERROR | [x] CSS colours must be defined in lowercase; expected #c00 but found #C00 342 | ERROR | [x] CSS colours must be defined in lowercase; expected #eee but found #EEE ------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 106 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------ FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/config/install/drupalchat.settings.yml --------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------- 18 | ERROR | [x] Expected 1 newline at end of file; 3 found --------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/config/schema/drupalchat.schema.yml ------------------------------------------------------------------------------------------ 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: /Users/specbee/Sites/Projects/drupalchat-3323914/js/drupalchat-bundle.js ------------------------------------------------------------------------------ FOUND 5 ERRORS AFFECTING 2 LINES ------------------------------------------------------------------------------ 2 | ERROR | [x] Expected 1 space before "+"; 0 found 2 | ERROR | [x] Expected 1 space after "+"; 0 found 2 | ERROR | [x] Expected 1 space before "+"; 0 found 2 | ERROR | [x] Expected 1 space after "+"; 0 found 4 | ERROR | [x] Expected 1 newline at end of file; 0 found ------------------------------------------------------------------------------ PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------ FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/drupalchat-popup.js ----------------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 3 LINES ----------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 space before "="; 0 found 1 | ERROR | [x] Expected 1 space after "="; 0 found 2 | ERROR | [x] Expected 1 space before "="; 0 found 2 | ERROR | [x] Expected 1 space after "="; 0 found 3 | ERROR | [x] Expected 1 newline at end of file; 0 found ----------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/drupalchat-settings-options.js ---------------------------------------------------------------------------------------- FOUND 53 ERRORS AFFECTING 49 LINES ---------------------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 3 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 4 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 5 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 6 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 7 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 8 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 9 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 10 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 11 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 12 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 13 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 14 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 15 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 16 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 17 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 18 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 19 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 20 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 21 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 22 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 23 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 24 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 25 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 26 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 27 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 28 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 29 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 30 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 31 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 32 | ERROR | [x] 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 38 | ERROR | [x] Whitespace found at end of line 39 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 41 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 44 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 45 | ERROR | [x] Whitespace found at end of line 50 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 52 | ERROR | [x] Whitespace found at end of line 53 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 53 | ERROR | [x] Whitespace found at end of line 54 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 55 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 57 | ERROR | [x] Expected 1 newline at end of file; 5 found 60 | ERROR | [ ] More than 2 empty lines are not allowed 61 | ERROR | [ ] More than 2 empty lines are not allowed 61 | ERROR | [x] Additional whitespace found at end of file ---------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 51 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/jquery.titlealert.min.js ---------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------- 1 | WARNING | File appears to be minified and cannot be processed ---------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/drupalchat-path-visibility.js --------------------------------------------------------------------------------------- FOUND 8 ERRORS AFFECTING 8 LINES --------------------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2 | ERROR | [x] Whitespace found at end of line 3 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 5 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 6 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 7 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 8 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 9 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed --------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/swfobject.js ---------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------- 1 | WARNING | File appears to be minified and cannot be processed ---------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/ba-emotify.js ---------------------------------------------------------------------------------------------- FOUND 67 ERRORS AFFECTING 65 LINES ---------------------------------------------------------------------------------------------- 7 | ERROR | [x] Whitespace found at end of line 16 | ERROR | [x] Whitespace found at end of line 21 | ERROR | [x] Whitespace found at end of line 23 | ERROR | [x] Whitespace found at end of line 27 | ERROR | [x] Whitespace found at end of line 29 | ERROR | [x] Whitespace found at end of line 32 | ERROR | [x] Whitespace found at end of line 35 | ERROR | [x] Whitespace found at end of line 37 | ERROR | [x] Whitespace found at end of line 39 | ERROR | [x] Whitespace found at end of line 41 | ERROR | [x] Whitespace found at end of line 43 | ERROR | [x] Whitespace found at end of line 47 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 47 | ERROR | [x] Expected 1 space before opening brace; found 0 52 | ERROR | [x] Whitespace found at end of line 54 | ERROR | [x] Whitespace found at end of line 56 | ERROR | [x] Whitespace found at end of line 58 | ERROR | [x] Whitespace found at end of line 60 | ERROR | [x] Whitespace found at end of line 62 | ERROR | [x] Whitespace found at end of line 70 | ERROR | [x] Whitespace found at end of line 72 | ERROR | [x] Whitespace found at end of line 74 | ERROR | [x] Whitespace found at end of line 75 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 76 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 80 | ERROR | [x] Whitespace found at end of line 81 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 85 | ERROR | [x] Whitespace found at end of line 92 | ERROR | [x] Whitespace found at end of line 97 | ERROR | [x] Whitespace found at end of line 99 | ERROR | [x] Whitespace found at end of line 102 | ERROR | [x] Whitespace found at end of line 104 | ERROR | [x] Whitespace found at end of line 106 | ERROR | [x] Whitespace found at end of line 108 | ERROR | [x] Whitespace found at end of line 116 | ERROR | [x] Whitespace found at end of line 118 | 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 127 | ERROR | [x] Whitespace found at end of line 131 | ERROR | [x] Whitespace found at end of line 136 | ERROR | [x] Whitespace found at end of line 141 | ERROR | [x] Whitespace found at end of line 143 | ERROR | [x] Whitespace found at end of line 145 | ERROR | [x] Whitespace found at end of line 146 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 149 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 151 | ERROR | [x] Whitespace found at end of line 157 | ERROR | [x] Whitespace found at end of line 159 | ERROR | [x] Whitespace found at end of line 164 | ERROR | [x] Whitespace found at end of line 169 | ERROR | [x] Whitespace found at end of line 172 | ERROR | [x] Whitespace found at end of line 176 | ERROR | [x] Whitespace found at end of line 179 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 179 | ERROR | [x] Inline control structures are not allowed 180 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 182 | ERROR | [x] Whitespace found at end of line 184 | ERROR | [x] Whitespace found at end of line 187 | ERROR | [x] Whitespace found at end of line 192 | ERROR | [x] Whitespace found at end of line 195 | ERROR | [x] Whitespace found at end of line 198 | ERROR | [x] Whitespace found at end of line 201 | ERROR | [x] Whitespace found at end of line 203 | ERROR | [x] Whitespace found at end of line 204 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 67 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/drupalchat-auth-url.js -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 newline at end of file; 0 found -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/drupalchat-jstorage.js ---------------------------------------------------------------------------------------------- FOUND 67 ERRORS AFFECTING 41 LINES ---------------------------------------------------------------------------------------------- 70 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 70 | ERROR | [x] Expected 1 space before opening brace; found 0 83 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 92 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 92 | ERROR | [x] Expected 1 space before opening brace; found 0 97 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 116 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 116 | ERROR | [x] Expected 1 space before opening brace; found 0 118 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 125 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 127 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 136 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 143 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 143 | ERROR | [x] Expected 1 space before opening brace; found 0 145 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 153 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 156 | ERROR | [x] Expected 1 space before "?"; 0 found 156 | ERROR | [x] Expected 1 space after "?"; 0 found 156 | ERROR | [x] Expected 1 space before ":"; 0 found 156 | ERROR | [x] Expected 1 space after ":"; 0 found 156 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 169 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 173 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 216 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 240 | ERROR | [x] Expected 1 space before "?"; 0 found 240 | ERROR | [x] Expected 1 space after "?"; 0 found 240 | ERROR | [x] Expected 1 space before ":"; 0 found 240 | ERROR | [x] Expected 1 space after ":"; 0 found 255 | ERROR | [x] Expected 1 space before "?"; 0 found 255 | ERROR | [x] Expected 1 space after "?"; 0 found 255 | ERROR | [x] Expected 1 space before ":"; 0 found 255 | ERROR | [x] Expected 1 space after ":"; 0 found 269 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 276 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 292 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 327 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 327 | ERROR | [x] Expected 1 space before opening brace; found 0 333 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 335 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 358 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 358 | ERROR | [x] Expected 1 space before opening brace; found 0 369 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 378 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 378 | ERROR | [x] Expected 1 space before opening brace; found 0 389 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 391 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 401 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 401 | ERROR | [x] Expected 1 space before opening brace; found 0 415 | ERROR | [x] Expected 1 space before ">"; 0 found 415 | ERROR | [x] Expected 1 space after ">"; 0 found 424 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 426 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 434 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 434 | ERROR | [x] Expected 1 space before opening brace; found 0 437 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 445 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 445 | ERROR | [x] Expected 1 space before opening brace; found 0 457 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 457 | ERROR | [x] Expected 1 space before opening brace; found 0 472 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 472 | ERROR | [x] Expected 1 space before opening brace; found 0 481 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 481 | ERROR | [x] Expected 1 space before opening brace; found 0 490 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 490 | ERROR | [x] Expected 1 space before opening brace; found 0 499 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 499 | ERROR | [x] Expected 1 space before opening brace; found 0 ---------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 67 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/drupalchat.js ------------------------------------------------------------------------------------------------------------- FOUND 671 ERRORS AFFECTING 343 LINES ------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 7 | ERROR | [x] Expected 1 space before ">"; 0 found 7 | ERROR | [x] Expected 1 space after ">"; 0 found 29 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 30 | ERROR | [x] Whitespace found at end of line 39 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 40 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 41 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 42 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 42 | ERROR | [x] Whitespace found at end of line 43 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 46 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 49 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 52 | ERROR | [x] Expected 1 space before "="; 0 found 55 | ERROR | [x] Expected 1 space after "="; 0 found 55 | ERROR | [x] Whitespace found before first semicolon of FOR loop 55 | ERROR | [x] Space found before semicolon; expected "0;" but found "0 ;" 55 | ERROR | [x] Whitespace found before second semicolon of FOR loop 55 | ERROR | [x] Expected 1 space after second semicolon of FOR loop; 0 found 55 | ERROR | [x] Space found before semicolon; expected "length;" but found "length ;" 57 | ERROR | [x] Expected 1 space before "="; 0 found 65 | ERROR | [x] Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces 76 | ERROR | [x] Whitespace found at end of line 77 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 79 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 80 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 81 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 82 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 83 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 84 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 85 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 86 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 87 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 88 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 89 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 90 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 91 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 92 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 93 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 94 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 106 | ERROR | [x] Expected 1 space before "+"; 0 found 106 | ERROR | [x] Expected 1 space after "+"; 0 found 106 | ERROR | [x] Expected 1 space before "+"; 0 found 106 | ERROR | [x] Expected 1 space after "+"; 0 found 107 | ERROR | [x] Expected 1 space before "+"; 0 found 107 | ERROR | [x] Expected 1 space after "+"; 0 found 107 | ERROR | [x] Expected 1 space before "+"; 0 found 107 | ERROR | [x] Expected 1 space after "+"; 0 found 107 | ERROR | [x] Expected 1 space before "+"; 0 found 107 | ERROR | [x] Expected 1 space after "+"; 0 found 107 | ERROR | [x] Expected 1 space before "+"; 0 found 107 | ERROR | [x] Expected 1 space after "+"; 0 found 107 | ERROR | [x] Expected 1 space before "+"; 0 found 107 | ERROR | [x] Expected 1 space after "+"; 0 found 107 | ERROR | [x] Expected 1 space before "+"; 0 found 107 | ERROR | [x] Expected 1 space after "+"; 0 found 110 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 110 | ERROR | [x] Expected 1 space after "="; 0 found 111 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 112 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 113 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 113 | ERROR | [x] Expected 1 space before "+"; 0 found 113 | ERROR | [x] Expected 1 space after "+"; 0 found 113 | ERROR | [x] Expected 1 space before "+"; 0 found 113 | ERROR | [x] Expected 1 space after "+"; 0 found 114 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 115 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 115 | ERROR | [x] Whitespace found at end of line 116 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 116 | ERROR | [x] Expected 1 space before "+"; 0 found 116 | ERROR | [x] Expected 1 space after "+"; 0 found 117 | ERROR | [x] Expected 1 space before "+"; 0 found 117 | ERROR | [x] Expected 1 space after "+"; 0 found 117 | ERROR | [x] Expected 1 space before "+"; 0 found 117 | ERROR | [x] Expected 1 space after "+"; 0 found 119 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 119 | ERROR | [x] Expected 1 space before "+"; 0 found 119 | ERROR | [x] Expected 1 space after "+"; 0 found 119 | ERROR | [x] Expected 1 space before "+"; 0 found 119 | ERROR | [x] Expected 1 space after "+"; 0 found 119 | ERROR | [x] Expected 1 space before "+"; 0 found 119 | ERROR | [x] Expected 1 space after "+"; 0 found 119 | ERROR | [x] Expected 1 space before "+"; 0 found 119 | ERROR | [x] Expected 1 space after "+"; 0 found 120 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 121 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 122 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 129 | ERROR | [x] Inline control structures are not allowed 131 | ERROR | [x] Inline control structures are not allowed 132 | ERROR | [x] Expected 1 space before "+"; 0 found 132 | ERROR | [x] Expected 1 space after "+"; 0 found 133 | ERROR | [x] Whitespace found at end of line 134 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 137 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 139 | ERROR | [x] Whitespace found at end of line 140 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 141 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 142 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 143 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 144 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 145 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 146 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 147 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 148 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 154 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 154 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 155 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 155 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 156 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 156 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 157 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 157 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 158 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 159 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 160 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 161 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 162 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 163 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 163 | ERROR | [x] Whitespace found at end of line 164 | ERROR | [x] Whitespace found at end of line 292 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 292 | ERROR | [x] Expected 1 space before opening brace; found 0 294 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 301 | ERROR | [x] Whitespace found at end of line 302 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 309 | ERROR | [x] Whitespace found at end of line 309 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 310 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 310 | ERROR | [x] Whitespace found at end of line 311 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 312 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 313 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 314 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 314 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 314 | ERROR | [x] Expected 1 space before opening brace; found 0 315 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 316 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 316 | ERROR | [x] Whitespace found at end of line 317 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 318 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 319 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 320 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 320 | ERROR | [x] Expected 1 space after "="; 2 found 321 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 321 | ERROR | [x] Whitespace found at end of line 322 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 322 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 323 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 324 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 325 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 326 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 327 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 328 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 329 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 330 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 330 | ERROR | [x] Whitespace found at end of line 331 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 332 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 333 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 333 | ERROR | [x] Whitespace found at end of line 334 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 335 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 336 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 337 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 338 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 338 | ERROR | [x] Whitespace found at end of line 339 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 340 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 341 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 342 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 342 | ERROR | [x] Whitespace found at end of line 343 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 343 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 343 | ERROR | [x] Whitespace found at end of line 344 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 344 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 345 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 346 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 347 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 348 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 349 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 350 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 351 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 352 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 353 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 354 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 355 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 356 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 357 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 358 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 358 | ERROR | [x] Whitespace found at end of line 359 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 360 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 361 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 362 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 363 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 364 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 364 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 365 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 366 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 366 | ERROR | [x] Whitespace found at end of line 367 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 367 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 368 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 369 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 370 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 371 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 373 | ERROR | [x] Expected 1 space before "+"; 0 found 373 | ERROR | [x] Expected 1 space after "+"; 0 found 376 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 376 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 376 | ERROR | [x] Whitespace found at end of line 377 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 377 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 378 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 379 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 380 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 381 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 382 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 383 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 384 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 385 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 386 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 387 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 388 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 388 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 389 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 390 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 390 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 391 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 392 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 393 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 394 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 395 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 396 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 397 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 398 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 399 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 400 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 400 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 401 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 402 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 402 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 403 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 404 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 405 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 405 | ERROR | [x] Whitespace found at end of line 406 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 406 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 407 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 408 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 410 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 410 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 412 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 412 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 413 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 413 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 413 | ERROR | [x] Whitespace found at end of line 414 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 414 | ERROR | [x] Whitespace found at end of line 415 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 417 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 418 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 419 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 422 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 423 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 426 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 427 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 427 | ERROR | [x] Whitespace found at end of line 428 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 428 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 430 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 430 | ERROR | [x] Expected 1 space before opening brace; found 0 434 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 435 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 435 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 437 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 437 | ERROR | [x] Expected 1 space before opening brace; found 0 441 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 441 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 441 | ERROR | [x] Whitespace found at end of line 442 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 442 | ERROR | [x] Whitespace found at end of line 443 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 443 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 445 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 446 | ERROR | [x] Whitespace found at end of line 447 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 447 | ERROR | [x] Whitespace found at end of line 450 | ERROR | [x] Whitespace found at end of line 451 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 453 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 455 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 457 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 459 | ERROR | [x] Whitespace found at end of line 463 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 467 | ERROR | [x] Expected 1 space before "+"; 0 found 467 | ERROR | [x] Expected 1 space after "+"; 0 found 467 | ERROR | [x] Expected 1 space before "+"; 0 found 467 | ERROR | [x] Expected 1 space after "+"; 0 found 468 | ERROR | [x] Expected 1 space before "+"; 0 found 468 | ERROR | [x] Expected 1 space after "+"; 0 found 468 | ERROR | [x] Expected 1 space before "+"; 0 found 468 | ERROR | [x] Expected 1 space after "+"; 0 found 470 | ERROR | [x] Whitespace found at end of line 472 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 475 | ERROR | [x] Whitespace found at end of line 476 | ERROR | [x] Expected 1 space before "+"; 0 found 476 | ERROR | [x] Expected 1 space after "+"; 0 found 477 | ERROR | [x] Expected 1 space before "+"; 0 found 477 | ERROR | [x] Expected 1 space after "+"; 0 found 478 | ERROR | [x] Expected 1 space before "+"; 0 found 478 | ERROR | [x] Expected 1 space after "+"; 0 found 480 | ERROR | [x] Expected 1 space before "+"; 0 found 480 | ERROR | [x] Expected 1 space after "+"; 0 found 480 | ERROR | [x] Expected 1 space before "+"; 0 found 480 | ERROR | [x] Expected 1 space after "+"; 0 found 488 | ERROR | [x] Expected 1 space before "+"; 0 found 488 | ERROR | [x] Expected 1 space after "+"; 0 found 490 | ERROR | [x] Expected 1 space before "+"; 0 found 490 | ERROR | [x] Expected 1 space after "+"; 0 found 490 | ERROR | [x] Expected 1 space before "+"; 0 found 490 | ERROR | [x] Expected 1 space after "+"; 0 found 490 | ERROR | [x] Expected 1 space before "+"; 0 found 490 | ERROR | [x] Expected 1 space after "+"; 0 found 490 | ERROR | [x] Expected 1 space before "+"; 0 found 490 | ERROR | [x] Expected 1 space after "+"; 0 found 490 | ERROR | [x] Expected 1 space before "+"; 0 found 490 | ERROR | [x] Expected 1 space after "+"; 0 found 490 | ERROR | [x] Expected 1 space before "+"; 0 found 490 | ERROR | [x] Expected 1 space after "+"; 0 found 490 | ERROR | [x] Expected 1 space before "+"; 0 found 490 | ERROR | [x] Expected 1 space after "+"; 0 found 490 | ERROR | [x] Expected 1 space before "+"; 0 found 490 | ERROR | [x] Expected 1 space after "+"; 0 found 490 | ERROR | [x] Expected 1 space before "+"; 0 found 490 | ERROR | [x] Expected 1 space after "+"; 0 found 490 | ERROR | [x] Expected 1 space before "+"; 0 found 490 | ERROR | [x] Expected 1 space after "+"; 0 found 494 | ERROR | [x] Expected 1 space before "+"; 0 found 494 | ERROR | [x] Expected 1 space after "+"; 0 found 494 | ERROR | [x] Expected 1 space before "+"; 0 found 494 | ERROR | [x] Expected 1 space after "+"; 0 found 497 | ERROR | [x] Expected 1 space before "+"; 0 found 497 | ERROR | [x] Expected 1 space after "+"; 0 found 497 | ERROR | [x] Expected 1 space before "+"; 0 found 497 | ERROR | [x] Expected 1 space after "+"; 0 found 497 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 497 | ERROR | [x] Expected 1 space before opening brace; found 0 498 | ERROR | [x] Expected 1 space before "+"; 0 found 498 | ERROR | [x] Expected 1 space after "+"; 0 found 498 | ERROR | [x] Expected 1 space before "+"; 0 found 498 | ERROR | [x] Expected 1 space after "+"; 0 found 499 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 499 | ERROR | [x] Expected 1 space before opening brace; found 0 500 | ERROR | [x] Expected 1 space before "+"; 0 found 500 | ERROR | [x] Expected 1 space after "+"; 0 found 500 | ERROR | [x] Expected 1 space before "+"; 0 found 500 | ERROR | [x] Expected 1 space after "+"; 0 found 501 | ERROR | [x] Expected 1 space before "+"; 0 found 501 | ERROR | [x] Expected 1 space after "+"; 0 found 501 | ERROR | [x] Expected 1 space before "+"; 0 found 501 | ERROR | [x] Expected 1 space after "+"; 0 found 504 | ERROR | [x] Expected 1 space before "+"; 0 found 504 | ERROR | [x] Expected 1 space after "+"; 0 found 504 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 505 | ERROR | [x] Expected 1 space before "+"; 0 found 505 | ERROR | [x] Expected 1 space after "+"; 0 found 505 | ERROR | [x] Expected 1 space before "+"; 0 found 505 | ERROR | [x] Expected 1 space after "+"; 0 found 506 | ERROR | [x] Expected 1 space before "+"; 0 found 506 | ERROR | [x] Expected 1 space after "+"; 0 found 506 | ERROR | [x] Expected 1 space before "+"; 0 found 506 | ERROR | [x] Expected 1 space after "+"; 0 found 510 | ERROR | [x] Expected 1 space before "+"; 0 found 510 | ERROR | [x] Expected 1 space after "+"; 0 found 515 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 515 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 516 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 532 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 546 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 548 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 549 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 550 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 551 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 552 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 553 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 554 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 555 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 556 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 557 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 557 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 557 | ERROR | [x] Whitespace found at end of line 558 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 559 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 559 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 560 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 560 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 561 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 562 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 562 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 563 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 564 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 565 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 565 | ERROR | [x] Expected 1 space before "=="; 0 found 565 | ERROR | [x] Expected 1 space after "=="; 0 found 566 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 566 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 567 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 569 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 569 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 570 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 570 | ERROR | [x] Whitespace found at end of line 571 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 571 | ERROR | [x] Expected 1 space before "?"; 0 found 571 | ERROR | [x] Expected 1 space after "?"; 0 found 571 | ERROR | [x] Expected 1 space before ":"; 0 found 571 | ERROR | [x] Expected 1 space after ":"; 0 found 572 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 572 | ERROR | [x] Expected 1 space before "+"; 0 found 572 | ERROR | [x] Expected 1 space after "+"; 0 found 573 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 573 | ERROR | [x] Expected 1 space before "?"; 0 found 573 | ERROR | [x] Expected 1 space after "?"; 0 found 573 | ERROR | [x] Expected 1 space before ":"; 0 found 573 | ERROR | [x] Expected 1 space after ":"; 0 found 574 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 575 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 575 | ERROR | [x] Expected 1 space before "+"; 0 found 575 | ERROR | [x] Expected 1 space after "+"; 0 found 575 | ERROR | [x] Expected 1 space before "+"; 0 found 575 | ERROR | [x] Expected 1 space after "+"; 0 found 576 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 576 | ERROR | [x] Expected 1 space before "+"; 0 found 576 | ERROR | [x] Expected 1 space after "+"; 0 found 577 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 577 | ERROR | [x] Expected 1 space before "+"; 0 found 577 | ERROR | [x] Expected 1 space after "+"; 0 found 578 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 579 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 579 | ERROR | [x] Expected 1 space before "+"; 0 found 579 | ERROR | [x] Expected 1 space after "+"; 0 found 579 | ERROR | [x] Expected 1 space before "+"; 0 found 579 | ERROR | [x] Expected 1 space after "+"; 0 found 580 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 580 | ERROR | [x] Expected 1 space before "+"; 0 found 580 | ERROR | [x] Expected 1 space after "+"; 0 found 580 | ERROR | [x] Expected 1 space before "+"; 0 found 580 | ERROR | [x] Expected 1 space after "+"; 0 found 580 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 581 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 581 | ERROR | [x] Expected 1 space before "+"; 0 found 581 | ERROR | [x] Expected 1 space after "+"; 0 found 581 | ERROR | [x] Expected 1 space before "+"; 0 found 581 | ERROR | [x] Expected 1 space after "+"; 0 found 582 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 583 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 584 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 585 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 585 | ERROR | [x] Expected 1 space before "+"; 0 found 585 | ERROR | [x] Expected 1 space after "+"; 0 found 585 | ERROR | [x] Expected 1 space before "+"; 0 found 585 | ERROR | [x] Expected 1 space after "+"; 0 found 586 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 588 | ERROR | [x] Whitespace found at end of line 590 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 590 | ERROR | [x] Expected 1 space before "+"; 0 found 590 | ERROR | [x] Expected 1 space after "+"; 0 found 591 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 592 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 592 | ERROR | [x] Whitespace found at end of line 593 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 594 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 598 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 598 | ERROR | [x] Expected 1 space before "+"; 0 found 598 | ERROR | [x] Expected 1 space after "+"; 0 found 598 | ERROR | [x] Expected 1 space before "+"; 0 found 598 | ERROR | [x] Expected 1 space after "+"; 0 found 599 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 599 | ERROR | [x] Expected 1 space before "+"; 0 found 599 | ERROR | [x] Expected 1 space after "+"; 0 found 599 | ERROR | [x] Expected 1 space before "+"; 0 found 599 | ERROR | [x] Expected 1 space after "+"; 0 found 599 | ERROR | [x] Expected 1 space before "+"; 0 found 599 | ERROR | [x] Expected 1 space after "+"; 0 found 599 | ERROR | [x] Expected 1 space before "+"; 0 found 599 | ERROR | [x] Expected 1 space after "+"; 0 found 600 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 601 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 602 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 603 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 604 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 605 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 606 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 607 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 608 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 609 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 610 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 611 | ERROR | [x] Whitespace found at end of line 612 | ERROR | [x] Expected 1 space before "+"; 0 found 612 | ERROR | [x] Expected 1 space after "+"; 0 found 612 | ERROR | [x] Expected 1 space before "+"; 0 found 612 | ERROR | [x] Expected 1 space after "+"; 0 found 613 | ERROR | [x] Whitespace found at end of line 617 | ERROR | [x] Whitespace found at end of line 618 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed 618 | ERROR | [x] Whitespace found at end of line 619 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 620 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 620 | ERROR | [x] Expected 1 space before "+"; 0 found 620 | ERROR | [x] Expected 1 space after "+"; 0 found 620 | ERROR | [x] Expected 1 space before "+"; 0 found 620 | ERROR | [x] Expected 1 space after "+"; 0 found 621 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 622 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 622 | ERROR | [x] Expected 1 space before "+"; 0 found 622 | ERROR | [x] Expected 1 space after "+"; 0 found 622 | ERROR | [x] Expected 1 space before "+"; 0 found 622 | ERROR | [x] Expected 1 space after "+"; 0 found 622 | ERROR | [x] Expected 1 space before "+"; 0 found 622 | ERROR | [x] Expected 1 space after "+"; 0 found 622 | ERROR | [x] Expected 1 space before "+"; 0 found 622 | ERROR | [x] Expected 1 space after "+"; 0 found 622 | ERROR | [x] Expected 1 space before "+"; 0 found 622 | ERROR | [x] Expected 1 space after "+"; 0 found 622 | ERROR | [x] Expected 1 space before "+"; 0 found 622 | ERROR | [x] Expected 1 space after "+"; 0 found 622 | ERROR | [x] Expected 1 space before "+"; 0 found 622 | ERROR | [x] Expected 1 space after "+"; 0 found 622 | ERROR | [x] Expected 1 space before "+"; 0 found 622 | ERROR | [x] Expected 1 space after "+"; 0 found 622 | ERROR | [x] Expected 1 space before "+"; 0 found 622 | ERROR | [x] Expected 1 space after "+"; 0 found 622 | ERROR | [x] Expected 1 space before "+"; 0 found 622 | ERROR | [x] Expected 1 space after "+"; 0 found 623 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 623 | ERROR | [x] Expected 1 space before "+"; 0 found 623 | ERROR | [x] Expected 1 space after "+"; 0 found 623 | ERROR | [x] Expected 1 space before "+"; 0 found 623 | ERROR | [x] Expected 1 space after "+"; 0 found 624 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 625 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 625 | ERROR | [x] Expected 1 space before "+"; 0 found 625 | ERROR | [x] Expected 1 space after "+"; 0 found 625 | ERROR | [x] Expected 1 space before "+"; 0 found 625 | ERROR | [x] Expected 1 space after "+"; 0 found 625 | ERROR | [x] Expected 1 space before "+"; 0 found 625 | ERROR | [x] Expected 1 space after "+"; 0 found 625 | ERROR | [x] Expected 1 space before "+"; 0 found 625 | ERROR | [x] Expected 1 space after "+"; 0 found 626 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 626 | ERROR | [x] Whitespace found at end of line 627 | ERROR | [x] Expected 1 space before "==="; 0 found 627 | ERROR | [x] Expected 1 space after "==="; 0 found 628 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 628 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 630 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 631 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 631 | ERROR | [x] Whitespace found at end of line 632 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 633 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 633 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 633 | ERROR | [x] Expected 1 space before opening brace; found 0 634 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 635 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 636 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 636 | ERROR | [x] Expected 1 space before "!=="; 0 found 636 | ERROR | [x] Expected 1 space after "!=="; 0 found 637 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 642 | ERROR | [x] Expected 1 space before "+"; 0 found 642 | ERROR | [x] Expected 1 space after "+"; 0 found 642 | ERROR | [x] Expected 1 space before "+"; 0 found 642 | ERROR | [x] Expected 1 space after "+"; 0 found 646 | ERROR | [x] Expected 1 space before "+"; 0 found 646 | ERROR | [x] Expected 1 space after "+"; 0 found 657 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 657 | ERROR | [x] Whitespace found at end of line 661 | ERROR | [x] Whitespace found at end of line 664 | ERROR | [x] Whitespace found at end of line 665 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 666 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 667 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 668 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 673 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 673 | ERROR | [x] Expected 1 space before "+"; 0 found 673 | ERROR | [x] Expected 1 space after "+"; 0 found 675 | ERROR | [x] Whitespace found at end of line 693 | ERROR | [x] Expected 1 space before "!=="; 0 found 693 | ERROR | [x] Expected 1 space after "!=="; 0 found 699 | ERROR | [x] Whitespace found at end of line 704 | ERROR | [x] Expected 1 space before "!=="; 0 found 704 | ERROR | [x] Expected 1 space after "!=="; 0 found 711 | ERROR | [x] Whitespace found at end of line 717 | ERROR | [x] Whitespace found at end of line 718 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 723 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 735 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 738 | ERROR | [x] Expected 1 space before "!=="; 0 found 738 | ERROR | [x] Expected 1 space after "!=="; 0 found 740 | ERROR | [x] Expected 1 space before "+"; 0 found 740 | ERROR | [x] Expected 1 space after "+"; 0 found 740 | ERROR | [x] Expected 1 space before "*"; 0 found 740 | ERROR | [x] Expected 1 space after "*"; 0 found 740 | ERROR | [x] Expected 1 space before "*"; 0 found 740 | ERROR | [x] Expected 1 space after "*"; 0 found 741 | ERROR | [x] Expected 1 space before "+"; 0 found 741 | ERROR | [x] Expected 1 space after "+"; 0 found 745 | ERROR | [x] Expected 1 space before "+"; 0 found 745 | ERROR | [x] Expected 1 space after "+"; 0 found 745 | ERROR | [x] Expected 1 space before "*"; 0 found 745 | ERROR | [x] Expected 1 space after "*"; 0 found 745 | ERROR | [x] Expected 1 space before "*"; 0 found 745 | ERROR | [x] Expected 1 space after "*"; 0 found 745 | ERROR | [x] Expected 1 space before "*"; 0 found 745 | ERROR | [x] Expected 1 space after "*"; 0 found 745 | ERROR | [x] Expected 1 space before "*"; 0 found 745 | ERROR | [x] Expected 1 space after "*"; 0 found 746 | ERROR | [x] Expected 1 space before "+"; 0 found 746 | ERROR | [x] Expected 1 space after "+"; 0 found 748 | ERROR | [x] Expected 1 space before "!=="; 0 found 748 | ERROR | [x] Expected 1 space after "!=="; 0 found 749 | ERROR | [x] Expected 1 space before "+"; 0 found 749 | ERROR | [x] Expected 1 space after "+"; 0 found 751 | ERROR | [x] Expected 1 space before "+"; 0 found 751 | ERROR | [x] Expected 1 space after "+"; 0 found 751 | ERROR | [x] Expected 1 space before "+"; 0 found 751 | ERROR | [x] Expected 1 space after "+"; 0 found 751 | ERROR | [x] Expected 1 space before "+"; 0 found 751 | ERROR | [x] Expected 1 space after "+"; 0 found 751 | ERROR | [x] Expected 1 space before "+"; 0 found 751 | ERROR | [x] Expected 1 space after "+"; 0 found 751 | ERROR | [x] Expected 1 space before "+"; 0 found 751 | ERROR | [x] Expected 1 space after "+"; 0 found 761 | ERROR | [x] Expected 1 space before "="; 0 found 761 | ERROR | [x] Expected 1 space after "="; 0 found 761 | ERROR | [x] Expected 1 space after first semicolon of FOR loop; 0 found 761 | ERROR | [x] Expected 1 space after second semicolon of FOR loop; 0 found 763 | ERROR | [x] Inline control structures are not allowed 763 | ERROR | [x] Expected 1 space before "=="; 0 found 763 | ERROR | [x] Expected 1 space after "=="; 0 found 764 | ERROR | [x] Inline control structures are not allowed 766 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 776 | ERROR | [x] Whitespace found at end of line 776 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 777 | ERROR | [x] Whitespace found at end of line ------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 671 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/drupalchat-auth-token.js ---------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 1 LINE ---------------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 newline at end of file; 0 found 1 | ERROR | [x] Additional whitespace found at end of file ---------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/drupalchat.install -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 79 ERRORS AND 3 WARNINGS AFFECTING 62 LINES -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 12 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 12 | WARNING | [x] 'TODO The drupal_(un)install_schema functions are called automatically in D7.' should match the format '@todo Fix problem X here.' 13 | ERROR | [x] Short array syntax must be used to define arrays 13 | ERROR | [x] Space found before semicolon; expected ");" but found ")/*drupal_install_schema('drupalchat')*/;" 19 | WARNING | [ ] Line exceeds 80 characters; contains 91 characters 19 | ERROR | [x] No space found before comment text; expected "// drupal_set_message(st('The installation of the DrupalChat module failed.'), 'error');" but found "//drupal_set_message(st('The installation of the DrupalChat module | | failed.'), 'error');" 19 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 21 | ERROR | [x] Expected 1 blank line after function; 2 found 28 | ERROR | [x] Short array syntax must be used to define arrays 30 | ERROR | [x] Short array syntax must be used to define arrays 31 | ERROR | [x] Short array syntax must be used to define arrays 32 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 32 | ERROR | [x] Array indentation error, expected 6 spaces but found 3 32 | ERROR | [x] Short array syntax must be used to define arrays 33 | ERROR | [x] Array indentation error, expected 5 spaces but found 8 34 | ERROR | [x] Array indentation error, expected 5 spaces but found 8 35 | ERROR | [x] Array indentation error, expected 5 spaces but found 8 36 | ERROR | [x] Array indentation error, expected 5 spaces but found 8 37 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 6 38 | ERROR | [x] Short array syntax must be used to define arrays 44 | ERROR | [x] Short array syntax must be used to define arrays 50 | ERROR | [x] Short array syntax must be used to define arrays 56 | ERROR | [x] Short array syntax must be used to define arrays 63 | ERROR | [x] Short array syntax must be used to define arrays 64 | ERROR | [x] Short array syntax must be used to define arrays 65 | ERROR | [x] Short array syntax must be used to define arrays 68 | ERROR | [x] Short array syntax must be used to define arrays 69 | ERROR | [x] Short array syntax must be used to define arrays 70 | ERROR | [x] Short array syntax must be used to define arrays 76 | ERROR | [x] Short array syntax must be used to define arrays 82 | ERROR | [x] Short array syntax must be used to define arrays 88 | ERROR | [x] Short array syntax must be used to define arrays 96 | ERROR | [x] Short array syntax must be used to define arrays 103 | ERROR | [x] Short array syntax must be used to define arrays 104 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 104 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 104 | ERROR | [x] Short array syntax must be used to define arrays 105 | ERROR | [x] Array indentation error, expected 5 spaces but found 4 105 | ERROR | [x] Short array syntax must be used to define arrays 106 | ERROR | [x] Array indentation error, expected 5 spaces but found 4 106 | ERROR | [x] Short array syntax must be used to define arrays 107 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 107 | ERROR | [x] Array indentation error, expected 5 spaces but found 3 107 | ERROR | [x] Short array syntax must be used to define arrays 108 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 4 114 | ERROR | [x] Missing function doc comment 115 | ERROR | [x] Expected one space after the comma, 0 found 116 | ERROR | [x] Expected one space after the comma, 0 found 119 | ERROR | [x] Short array syntax must be used to define arrays 120 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 121 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 122 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 123 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 126 | ERROR | [x] Short array syntax must be used to define arrays 127 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 128 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 129 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 130 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 132 | ERROR | [x] Expected one space after the comma, 0 found 133 | ERROR | [x] Expected one space after the comma, 0 found 133 | ERROR | [x] Expected one space after the comma, 0 found 133 | ERROR | [x] Short array syntax must be used to define arrays 135 | ERROR | [x] Expected one space after the comma, 0 found 136 | ERROR | [x] Expected one space after the comma, 0 found 136 | ERROR | [x] Expected one space after the comma, 0 found 136 | ERROR | [x] Short array syntax must be used to define arrays 138 | ERROR | [x] Expected one space after the comma, 0 found 139 | ERROR | [x] Expected one space after the comma, 0 found 139 | ERROR | [x] Expected one space after the comma, 0 found 139 | ERROR | [x] Short array syntax must be used to define arrays 141 | ERROR | [x] Expected one space after the comma, 0 found 142 | ERROR | [x] Expected one space after the comma, 0 found 142 | ERROR | [x] Expected one space after the comma, 0 found 142 | ERROR | [x] Short array syntax must be used to define arrays 146 | ERROR | [x] Missing function doc comment 147 | ERROR | [x] Expected 1 space after IF keyword; 0 found 148 | ERROR | [x] Short array syntax must be used to define arrays 149 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 150 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 151 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 152 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 153 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 80 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/drupalchat.links.menu.yml -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 13 | ERROR | [x] Expected 1 newline at end of file; 4 found -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/drupalchat.info.yml --------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES --------------------------------------------------------------------------------------- 1 | WARNING | [ ] "core_version_requirement" property is missing in the info.yml file 6 | ERROR | [x] Expected 1 newline at end of file; 0 found --------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/drupalchat.links.task.yml -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 16 | ERROR | [x] Expected 1 newline at end of file; 2 found -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/drupalchat.libraries.yml ------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------- 92 | ERROR | [x] Expected 1 newline at end of file; 0 found ------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/guest_names/drupalchat_guest_random_names.txt ---------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------- 2638 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/src/Form/drupalchatSettingsForm.php -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 209 ERRORS AND 23 WARNINGS AFFECTING 144 LINES -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 5 | ERROR | [x] Doc comment short description must end with a full stop 13 | ERROR | [x] There must be one blank line after the last USE statement; 0 found; 15 | ERROR | [x] Doc comment short description must end with a full stop 18 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name 19 | ERROR | [ ] Class name must begin with a capital letter 21 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 22 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 23 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 46 | ERROR | [x] Short array syntax must be used to define arrays 46 | ERROR | [ ] The array declaration extends to column 354 (the limit is 80). The array content should be split up over multiple lines 46 | ERROR | [x] Expected 1 space between "7" and double arrow; 0 found 46 | ERROR | [x] Expected 1 space between double arrow and "7"; 0 found 46 | ERROR | [x] Expected 1 space before "=>"; 0 found 46 | ERROR | [x] Expected 1 space after "=>"; 0 found 53 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 55 | ERROR | [x] Whitespace found at end of line 56 | ERROR | [x] Short array syntax must be used to define arrays 62 | WARNING | [ ] Line exceeds 80 characters; contains 150 characters 62 | ERROR | [x] No space found before comment text; expected "// $default_polling_method = empty($config->get('drupalchat_polling_method')) ? DRUPALCHAT_COMMERCIAL : $config->get('drupalchat_polling_method');" but found | | "//$default_polling_method = empty($config->get('drupalchat_polling_method')) ? DRUPALCHAT_COMMERCIAL : $config->get('drupalchat_polling_method');" 62 | ERROR | [x] Whitespace found at end of line 63 | ERROR | [x] Short array syntax must be used to define arrays 67 | ERROR | [x] Short array syntax must be used to define arrays 67 | ERROR | [ ] The array declaration extends to column 245 (the limit is 80). The array content should be split up over multiple lines 67 | ERROR | [x] Comma not allowed after last value in single-line array declaration 71 | ERROR | [x] Short array syntax must be used to define arrays 75 | ERROR | [x] Expected 1 space before "?"; 0 found 78 | ERROR | [x] Short array syntax must be used to define arrays 82 | ERROR | [x] Expected 1 space before "?"; 0 found 85 | ERROR | [x] Short array syntax must be used to define arrays 92 | ERROR | [x] Short array syntax must be used to define arrays 96 | ERROR | [x] Short array syntax must be used to define arrays 99 | ERROR | [x] Short array syntax must be used to define arrays 103 | ERROR | [x] Short array syntax must be used to define arrays 106 | ERROR | [x] Short array syntax must be used to define arrays 110 | ERROR | [x] Short array syntax must be used to define arrays 113 | ERROR | [x] Short array syntax must be used to define arrays 116 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables 116 | ERROR | [ ] Concatenating translatable strings is not allowed, use placeholders instead and only one string literal 116 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 116 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 117 | ERROR | [x] Short array syntax must be used to define arrays 120 | ERROR | [x] Short array syntax must be used to define arrays 126 | ERROR | [x] Short array syntax must be used to define arrays 130 | ERROR | [x] Short array syntax must be used to define arrays 130 | WARNING | [ ] #options values usually have to run through t() for translation 133 | ERROR | [x] Short array syntax must be used to define arrays 142 | ERROR | [x] Short array syntax must be used to define arrays 150 | ERROR | [x] Whitespace found at end of line 151 | ERROR | [x] Short array syntax must be used to define arrays 156 | ERROR | [x] Short array syntax must be used to define arrays 160 | ERROR | [x] Short array syntax must be used to define arrays 162 | ERROR | [ ] Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead 162 | ERROR | [x] Whitespace found at end of line 163 | ERROR | [x] Whitespace found at end of line 165 | ERROR | [x] Short array syntax must be used to define arrays 166 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 167 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 168 | WARNING | [x] A comma should follow the last multiline array item. Found: FALSE 169 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 171 | ERROR | [x] Short array syntax must be used to define arrays 177 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 177 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 177 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 178 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 178 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 178 | ERROR | [x] Short array syntax must be used to define arrays 179 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 180 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 185 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 185 | ERROR | [x] Whitespace found at end of line 186 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 188 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 188 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 188 | ERROR | [x] Short array syntax must be used to define arrays 188 | ERROR | [ ] The array declaration extends to column 313 (the limit is 80). The array content should be split up over multiple lines 190 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 190 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 190 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 191 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 191 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5 191 | ERROR | [x] Short array syntax must be used to define arrays 192 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 192 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5 193 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 193 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5 193 | ERROR | [x] Short array syntax must be used to define arrays 194 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 194 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 195 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 195 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 196 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 196 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5 197 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 197 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 198 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 198 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 198 | ERROR | [x] Short array syntax must be used to define arrays 199 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 200 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 201 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 202 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 203 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 204 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 204 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 204 | ERROR | [x] Short array syntax must be used to define arrays 205 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 206 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 207 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 208 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 209 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 211 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 211 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 211 | ERROR | [x] Short array syntax must be used to define arrays 212 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 213 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 214 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 214 | ERROR | [x] Array indentation error, expected 5 spaces but found 6 215 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 216 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 216 | ERROR | [x] Whitespace found at end of line 217 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 217 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 217 | ERROR | [x] Short array syntax must be used to define arrays 218 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 219 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 220 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 220 | ERROR | [x] Expected 1 space before "?"; 0 found 220 | ERROR | [x] Expected 1 space after "?"; 0 found 220 | ERROR | [x] Expected 1 space before ":"; 0 found 220 | ERROR | [x] Expected 1 space after ":"; 0 found 221 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 221 | ERROR | [x] Short array syntax must be used to define arrays 222 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 223 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 224 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 225 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 226 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 226 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 226 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 227 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 227 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5 228 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 228 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 229 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 229 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 229 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 230 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 230 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5 231 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 231 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 232 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 232 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 232 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 233 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 233 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5 234 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 234 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 235 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 235 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 235 | ERROR | [x] Short array syntax must be used to define arrays 236 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 237 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 238 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 239 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 239 | ERROR | [x] Expected 1 space before "?"; 0 found 239 | ERROR | [x] Expected 1 space after "?"; 0 found 239 | ERROR | [x] Expected 1 space before ":"; 0 found 239 | ERROR | [x] Expected 1 space after ":"; 0 found 240 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 240 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 240 | ERROR | [x] Array indentation error, expected 5 spaces but found 3 241 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 243 | ERROR | [x] Short array syntax must be used to define arrays 249 | ERROR | [x] Short array syntax must be used to define arrays 253 | ERROR | [x] Short array syntax must be used to define arrays 256 | ERROR | [x] No space found before comment text; expected "// print_r($form);" but found "//print_r($form);" 267 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 267 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 268 | WARNING | [ ] Unused variable $user_name. 269 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 3 empty lines 271 | ERROR | [ ] More than 2 empty lines are not allowed 272 | ERROR | [x] Expected 1 space after IF keyword; 0 found 272 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 277 | ERROR | [x] Short array syntax must be used to define arrays 279 | WARNING | [x] A comma should follow the last multiline array item. Found: $drupalchat_app_id 283 | ERROR | [x] Expected 1 space after IF keyword; 0 found 283 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 284 | ERROR | [x] Concat operator must be surrounded by a single space 284 | ERROR | [x] Concat operator must be surrounded by a single space 284 | ERROR | [x] Concat operator must be surrounded by a single space 287 | ERROR | [x] Expected 1 space after IF keyword; 0 found 287 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 287 | ERROR | [x] There should be no white space after an opening "{" 287 | ERROR | [x] Comments may not appear after statements 287 | ERROR | [x] No space found before comment text; expected "// check if app id is empty." but found "//check if app id is empty." 287 | ERROR | [x] Inline comments must start with a capital letter 288 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 291 | ERROR | [x] Expected 1 space after IF keyword; 0 found 291 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 292 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 294 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 295 | ERROR | [x] Whitespace found at end of line 296 | ERROR | [x] Expected 1 space after IF keyword; 0 found 297 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 298 | ERROR | [x] Whitespace found at end of line 301 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 302 | ERROR | [x] Whitespace found at end of line 304 | ERROR | [x] Whitespace found at end of line 307 | ERROR | [x] Short array syntax must be used to define arrays 308 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 309 | ERROR | [x] Inline control structures are not allowed 309 | ERROR | [x] Expected 1 space after IF keyword; 0 found 309 | ERROR | [x] Short array syntax must be used to define arrays 312 | ERROR | [x] Inline control structures are not allowed 312 | ERROR | [x] Expected 1 space after IF keyword; 0 found 313 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 313 | ERROR | [x] Short array syntax must be used to define arrays 326 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 349 | WARNING | [ ] Unused private method _drupalchat_load_themes() 349 | ERROR | [ ] Private method name "drupalchatSettingsForm::_drupalchat_load_themes" is not in lowerCamel format 349 | ERROR | [x] Missing function doc comment 350 | ERROR | [x] Short array syntax must be used to define arrays 352 | ERROR | [x] Short array syntax must be used to define arrays 367 | WARNING | [ ] Unused private method _drupalchat_remove_extension() 367 | ERROR | [ ] Private method name "drupalchatSettingsForm::_drupalchat_remove_extension" is not in lowerCamel format 367 | ERROR | [x] Missing function doc comment 370 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 374 | ERROR | [x] Expected 1 blank line after function; 3 found 376 | ERROR | [x] Whitespace found at end of line 378 | ERROR | [x] The closing brace for the class must have an empty line before it -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 203 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/src/Controller/drupalchatController.php -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 640 ERRORS AND 71 WARNINGS AFFECTING 435 LINES -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 4 | ERROR | [x] Doc comment short description must end with a full stop 11 | WARNING | [x] Unused use statement 12 | WARNING | [x] Unused use statement 13 | WARNING | [x] Unused use statement 14 | WARNING | [x] Unused use statement 16 | WARNING | [x] Unused use statement 17 | WARNING | [x] Unused use statement 21 | WARNING | [x] Unused use statement 23 | WARNING | [x] Unused use statement 25 | WARNING | [x] Unused use statement 25 | ERROR | [x] There must be one blank line after the last USE statement; 3 found; 28 | ERROR | [ ] More than 2 empty lines are not allowed 29 | ERROR | [ ] Class name must begin with a capital letter 29 | ERROR | [x] Missing class doc comment 31 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 31 | ERROR | [ ] Public method name "drupalchatController::drupalchat_verify_access" is not in lowerCamel format 31 | ERROR | [x] Missing function doc comment 32 | ERROR | [x] Whitespace found at end of line 33 | ERROR | [x] Equals sign not aligned correctly; expected 1 space but found 2 spaces 40 | ERROR | [x] Whitespace found at end of line 42 | ERROR | [x] Whitespace found at end of line 42 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 45 | WARNING | [x] There must be no blank line following an inline comment 45 | WARNING | [ ] There must be no blank line following an inline comment 45 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 46 | ERROR | [x] Whitespace found at end of line 48 | ERROR | [x] Whitespace found at end of line 51 | ERROR | [x] Expected 1 space after "="; 2 found 52 | ERROR | [x] Whitespace found at end of line 53 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 54 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters 55 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 57 | ERROR | [x] Inline control structures are not allowed 57 | ERROR | [x] Expected 1 space after IF keyword; 0 found 58 | ERROR | [x] Inline control structures are not allowed 58 | ERROR | [x] Expected 1 space after IF keyword; 0 found 59 | WARNING | [ ] Line exceeds 80 characters; contains 117 characters 59 | ERROR | [x] No space found before comment text; expected "// $page_match = !(\Drupal::config('drupalchat.settings')->get('drupalchat_path_visibility') xor $page_match);" but found "//$page_match = | | !(\Drupal::config('drupalchat.settings')->get('drupalchat_path_visibility') xor $page_match);" 73 | ERROR | [x] Expected 1 space before "=="; 0 found 73 | ERROR | [x] Expected 1 space after "=="; 0 found 73 | ERROR | [x] Expected 1 space before ">"; 0 found 73 | ERROR | [x] Expected 1 space after ">"; 0 found 74 | ERROR | [x] Expected 1 space after IF keyword; 0 found 78 | ERROR | [x] Closing brace indented incorrectly; expected 1 spaces, found 2 78 | ERROR | [x] Expected 1 blank line after function; 2 found 81 | ERROR | [ ] Public method name "drupalchatController::_drupalchat_get_sid" is not in lowerCamel format 81 | ERROR | [x] Missing function doc comment 86 | ERROR | [x] Whitespace found at end of line 93 | ERROR | [x] Use "elseif" in place of "else if" 93 | ERROR | [x] Expected 1 space after IF keyword; 0 found 94 | ERROR | [x] Expected 1 space after IF keyword; 0 found 98 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 99 | ERROR | [x] No space found before comment text; expected "// return drupalchat_get_current_guest_id();" but found "//return drupalchat_get_current_guest_id();" 99 | ERROR | [x] Inline comments must start with a capital letter 102 | ERROR | [x] Use "elseif" in place of "else if" 103 | ERROR | [ ] The $_COOKIE super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->cookies->get('drupalchat_c_session') instead 107 | ERROR | [x] Expected 1 space after IF keyword; 0 found 107 | ERROR | [x] Expected one space after the comma, 0 found 118 | ERROR | [x] Whitespace found at end of line 120 | ERROR | [ ] Public method name "drupalchatController::drupalchat_get_random_name" is not in lowerCamel format 120 | ERROR | [x] Missing function doc comment 128 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 128 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found 128 | ERROR | [ ] Doc comment short description must start with a capital letter 129 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 129 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found 129 | ERROR | [ ] Doc comment short description must end with a full stop 129 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 130 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 130 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found 131 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 131 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 131 | ERROR | [ ] Public method name "drupalchatController::drupalchat_send" is not in lowerCamel format 132 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 132 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 133 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 133 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 134 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 134 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 136 | ERROR | [ ] The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('form_token') instead 137 | ERROR | [ ] The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('form_id') instead 139 | ERROR | [x] Expected 1 space before ":"; 2 found 143 | ERROR | [x] Whitespace found at end of line 145 | ERROR | [x] Short array syntax must be used to define arrays 145 | ERROR | [ ] The array declaration extends to column 223 (the limit is 80). The array content should be split up over multiple lines 145 | ERROR | [ ] The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('drupalchat_message_id') instead 145 | ERROR | [x] Expected 1 space before "?"; 0 found 145 | ERROR | [x] Expected 1 space after "?"; 0 found 145 | ERROR | [x] Expected 1 space before ":"; 0 found 145 | ERROR | [x] Expected 1 space after ":"; 0 found 145 | ERROR | [x] Concat operator must be surrounded by a single space 145 | ERROR | [ ] The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('drupalchat_uid2') instead 146 | ERROR | [x] Short array syntax must be used to define arrays 146 | ERROR | [ ] The array declaration extends to column 86 (the limit is 80). The array content should be split up over multiple lines 146 | ERROR | [ ] The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('drupalchat_message') instead 148 | ERROR | [x] Whitespace found at end of line 148 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 151 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 152 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 153 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 153 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces, found 6 155 | ERROR | [x] Short array syntax must be used to define arrays 157 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 157 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 160 | ERROR | [ ] Doc comment short description must start with a capital letter 161 | ERROR | [ ] Doc comment short description must end with a full stop 161 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 163 | ERROR | [ ] Public method name "drupalchatController::drupalchat_poll" is not in lowerCamel format 164 | ERROR | [x] No space found before comment text; expected "// global $user;" but found "//global $user;" 164 | ERROR | [x] Inline comments must start with a capital letter 164 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 165 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 169 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 172 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 174 | ERROR | [ ] The $_GET super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->query->get('drupalchat_last_timestamp') instead 175 | ERROR | [ ] The $_GET super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->query->get('drupalchat_last_timestamp') instead 179 | ERROR | [x] No space found before comment text; expected "// $last_timestamp = 1;" but found "//$last_timestamp = 1;" 184 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 186 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 187 | ERROR | [x] No space found before comment text; expected "// echo $polling_method;" but found "//echo $polling_method;" 187 | ERROR | [x] Inline comments must start with a capital letter 188 | WARNING | [x] There must be no blank line following an inline comment 188 | WARNING | [ ] There must be no blank line following an inline comment 188 | ERROR | [x] No space found before comment text; expected "// die;" but found "//die;" 188 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 190 | ERROR | [x] Short array syntax must be used to define arrays 194 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 194 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 194 | ERROR | [x] Comments may not appear after statements 194 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 200 | ERROR | [x] Expected 1 space after IF keyword; 0 found 204 | ERROR | [x] Short array syntax must be used to define arrays 204 | ERROR | [ ] The array declaration extends to column 129 (the limit is 80). The array content should be split up over multiple lines 210 | ERROR | [x] Short array syntax must be used to define arrays 210 | ERROR | [ ] The array declaration extends to column 144 (the limit is 80). The array content should be split up over multiple lines 210 | ERROR | [x] Concat operator must be surrounded by a single space 213 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 213 | WARNING | [ ] Line exceeds 80 characters; contains 85 characters 213 | ERROR | [x] Comments may not appear after statements 213 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 217 | ERROR | [x] Expected 1 space after IF keyword; 0 found 218 | ERROR | [x] Short array syntax must be used to define arrays 218 | ERROR | [ ] The array declaration extends to column 284 (the limit is 80). The array content should be split up over multiple lines 221 | ERROR | [x] Short array syntax must be used to define arrays 221 | ERROR | [ ] The array declaration extends to column 321 (the limit is 80). The array content should be split up over multiple lines 221 | ERROR | [x] Concat operator must be surrounded by a single space 223 | ERROR | [x] No space found before comment text; expected "// while ($message = db_fetch_object($messages)) {" but found "//while ($message = db_fetch_object($messages)) {" 223 | ERROR | [x] Inline comments must start with a capital letter 224 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 226 | ERROR | [x] No space found before comment text; expected "// $arr = explode("-", $message->uid1, 2);" but found "//$arr = explode("-", $message->uid1, 2);" 227 | ERROR | [x] Expected 1 space after IF keyword; 0 found 227 | ERROR | [x] Expected one space after the comma, 0 found 227 | ERROR | [x] Expected one space after the comma, 0 found 227 | ERROR | [x] Concat operator must be surrounded by a single space 228 | ERROR | [x] Expected 1 space after IF keyword; 0 found 228 | ERROR | [x] Expected one space after the comma, 0 found 229 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 230 | ERROR | [x] Short array syntax must be used to define arrays 230 | ERROR | [ ] The array declaration extends to column 281 (the limit is 80). The array content should be split up over multiple lines 230 | ERROR | [x] Comma not allowed after last value in single-line array declaration 231 | ERROR | [x] Expected 1 space after IF keyword; 0 found 231 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 239 | ERROR | [x] Short array syntax must be used to define arrays 239 | ERROR | [ ] The array declaration extends to column 140 (the limit is 80). The array content should be split up over multiple lines 240 | ERROR | [x] Short array syntax must be used to define arrays 240 | ERROR | [ ] The array declaration extends to column 246 (the limit is 80). The array content should be split up over multiple lines 240 | ERROR | [x] Comma not allowed after last value in single-line array declaration 241 | ERROR | [x] Expected 1 space after IF keyword; 0 found 241 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 242 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 248 | ERROR | [x] Expected 1 space after IF keyword; 0 found 248 | ERROR | [x] Expected one space after the comma, 0 found 249 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 250 | ERROR | [x] Short array syntax must be used to define arrays 250 | ERROR | [ ] The array declaration extends to column 281 (the limit is 80). The array content should be split up over multiple lines 250 | ERROR | [x] Comma not allowed after last value in single-line array declaration 251 | ERROR | [x] Expected 1 space after IF keyword; 0 found 251 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 259 | ERROR | [x] Short array syntax must be used to define arrays 259 | ERROR | [ ] The array declaration extends to column 140 (the limit is 80). The array content should be split up over multiple lines 260 | ERROR | [x] Short array syntax must be used to define arrays 260 | ERROR | [ ] The array declaration extends to column 246 (the limit is 80). The array content should be split up over multiple lines 260 | ERROR | [x] Comma not allowed after last value in single-line array declaration 261 | ERROR | [x] Expected 1 space after IF keyword; 0 found 261 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 262 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 267 | ERROR | [x] No space found before comment text; expected "// if($message->" but found "//if($message->" 267 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 276 | ERROR | [x] Use null coalesce operator instead of ternary operator. 277 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 283 | ERROR | [x] Expected 1 blank line after function; 2 found 286 | ERROR | [ ] Private method name "drupalchatController::_drupalchat_touch_user" is not in lowerCamel format 286 | ERROR | [x] Missing function doc comment 288 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 288 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 4 288 | ERROR | [x] Short array syntax must be used to define arrays 291 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 292 | ERROR | [x] No space found before comment text; expected "// ->condition('session', drupalchatController::_drupalchat_get_sid())" but found "//->condition('session', drupalchatController::_drupalchat_get_sid())" 293 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 294 | ERROR | [x] Expected 1 blank line after function; 2 found 297 | ERROR | [ ] Private method name "drupalchatController::_drupalchat_buddylist_diff" is not in lowerCamel format 297 | ERROR | [x] Missing function doc comment 314 | ERROR | [ ] Public method name "drupalchatController::_drupalchat_buddylist" is not in lowerCamel format 314 | ERROR | [x] Missing function doc comment 315 | ERROR | [x] Short array syntax must be used to define arrays 319 | ERROR | [x] Short array syntax must be used to define arrays 319 | ERROR | [ ] The array declaration extends to column 177 (the limit is 80). The array content should be split up over multiple lines 319 | ERROR | [x] Short array syntax must be used to define arrays 320 | WARNING | [ ] Unused variable $rid. 325 | ERROR | [x] Short array syntax must be used to define arrays 325 | ERROR | [ ] The array declaration extends to column 138 (the limit is 80). The array content should be split up over multiple lines 332 | ERROR | [x] Expected 1 blank line after function; 2 found 335 | ERROR | [ ] Public method name "drupalchatController::_drupalchat_get_buddylist" is not in lowerCamel format 335 | ERROR | [x] Missing function doc comment 336 | ERROR | [x] Short array syntax must be used to define arrays 338 | ERROR | [x] Expected 1 space after IF keyword; 0 found 342 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 343 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 344 | ERROR | [x] Short array syntax must be used to define arrays 347 | ERROR | [x] Short array syntax must be used to define arrays 347 | ERROR | [ ] The array declaration extends to column 117 (the limit is 80). The array content should be split up over multiple lines 347 | ERROR | [x] Short array syntax must be used to define arrays 348 | WARNING | [ ] Unused variable $rid. 353 | ERROR | [x] Use "elseif" in place of "else if" 353 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 357 | ERROR | [x] Short array syntax must be used to define arrays 357 | ERROR | [ ] The array declaration extends to column 138 (the limit is 80). The array content should be split up over multiple lines 363 | ERROR | [x] Expected 1 blank line after function; 3 found 365 | ERROR | [x] Whitespace found at end of line 367 | ERROR | [ ] Public method name "drupalchatController::_drupalchat_buddylist_online" is not in lowerCamel format 367 | ERROR | [x] Missing function doc comment 372 | ERROR | [x] Short array syntax must be used to define arrays 373 | ERROR | [x] Expected 1 space after IF keyword; 0 found 374 | ERROR | [x] Short array syntax must be used to define arrays 374 | ERROR | [ ] The array declaration extends to column 90 (the limit is 80). The array content should be split up over multiple lines 375 | ERROR | [x] Expected 1 space after IF keyword; 0 found 380 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 386 | ERROR | [x] Object operator not indented correctly; expected 8 spaces but found 10 394 | ERROR | [x] Expected 1 space after IF keyword; 0 found 413 | ERROR | [x] Whitespace found at end of line 415 | ERROR | [x] Expected 1 space after IF keyword; 0 found 417 | ERROR | [x] Short array syntax must be used to define arrays 417 | ERROR | [ ] The array declaration extends to column 115 (the limit is 80). The array content should be split up over multiple lines 418 | ERROR | [x] Expected 1 space after IF keyword; 0 found 423 | ERROR | [x] Short array syntax must be used to define arrays 423 | ERROR | [ ] The array declaration extends to column 125 (the limit is 80). The array content should be split up over multiple lines 424 | ERROR | [x] Expected 1 space after IF keyword; 0 found 430 | ERROR | [x] Expected 1 space after IF keyword; 0 found 433 | ERROR | [x] Whitespace found at end of line 438 | ERROR | [x] Doc comment short description must start with a capital letter 440 | ERROR | [ ] Public method name "drupalchatController::drupalchat_get_messages" is not in lowerCamel format 441 | ERROR | [x] Expected 1 space after IF keyword; 0 found 446 | ERROR | [x] Expected 1 space after IF keyword; 0 found 449 | ERROR | [x] No space found before comment text; expected "// global $user;" but found "//global $user;" 449 | ERROR | [x] Inline comments must start with a capital letter 449 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 450 | ERROR | [x] Expected 1 space after IF keyword; 0 found 451 | ERROR | [x] Expected 1 space before "?"; 0 found 451 | ERROR | [x] Expected 1 space after "?"; 0 found 451 | ERROR | [x] Expected 1 space before ":"; 0 found 451 | ERROR | [x] Expected 1 space after ":"; 0 found 451 | ERROR | [x] Concat operator must be surrounded by a single space 453 | ERROR | [x] Short array syntax must be used to define arrays 455 | ERROR | [x] Closing parenthesis of array declaration must be on a new line 458 | ERROR | [ ] Comment indentation error, expected only 1 spaces 461 | ERROR | [ ] Comment indentation error, expected only 1 spaces 466 | ERROR | [x] Expected 1 space after IF keyword; 0 found 470 | ERROR | [ ] Doc comment is empty 474 | ERROR | [x] Whitespace found at end of line 475 | ERROR | [x] Expected 1 space after TRY keyword; 0 found 477 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 478 | WARNING | [x] A comma should follow the last multiline array item. Found: $data 479 | ERROR | [x] Whitespace found at end of line 481 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found 481 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 484 | ERROR | [x] Short array syntax must be used to define arrays 486 | WARNING | [x] A comma should follow the last multiline array item. Found: $error 490 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found 490 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 491 | ERROR | [x] Short array syntax must be used to define arrays 493 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 498 | ERROR | [x] Expected 1 space after IF keyword; 0 found 498 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 501 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 3 empty lines 503 | ERROR | [ ] More than 2 empty lines are not allowed 504 | WARNING | [ ] Line exceeds 80 characters; contains 123 characters 504 | ERROR | [x] No space found before comment text; expected "// $result = drupal_http_request(DRUPALCHAT_EXTERNAL_A_HOST . ':' . DRUPALCHAT_EXTERNAL_A_PORT . '/r/', $options);" but found "//$result = | | drupal_http_request(DRUPALCHAT_EXTERNAL_A_HOST . ':' . DRUPALCHAT_EXTERNAL_A_PORT . '/r/', $options);" 505 | ERROR | [x] No space found before comment text; expected "// $query = json_decode($result->data);" but found "//$query = json_decode($result->data);" 508 | ERROR | [x] Expected 1 space before "?"; 0 found 508 | ERROR | [x] Expected 1 space after "?"; 0 found 508 | ERROR | [x] Expected 1 space before ":"; 0 found 508 | ERROR | [x] Expected 1 space after ":"; 0 found 508 | ERROR | [x] Concat operator must be surrounded by a single space 541 | ERROR | [x] Short array syntax must be used to define arrays 543 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 543 | WARNING | [ ] Unused variable $record. 545 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 546 | WARNING | [ ] Line exceeds 80 characters; contains 421 characters 546 | WARNING | [x] There must be no blank line following an inline comment 546 | WARNING | [ ] There must be no blank line following an inline comment 549 | ERROR | [x] No space found before comment text; expected "// $output .= '</tbody></table>';" but found "//$output .= '</tbody></table>';" 550 | ERROR | [x] No space found before comment text; expected "// $user_item = user_load($user->id());" but found "//$user_item = user_load($user->id());" 551 | ERROR | [x] No space found before comment text; expected "// $output .= '<pre>' . print_r($user_item,true) . '</pre>';" but found "//$output .= '<pre>' . print_r($user_item,true) . '</pre>';" 552 | ERROR | [x] No space found before comment text; expected "// $output .= theme('user_picture', array('account' =>$user_item));" but found "//$output .= theme('user_picture', array('account' =>$user_item));" 558 | ERROR | [ ] Public method name "drupalchatController::drupalchat_get_messages_specific" is not in lowerCamel format 558 | ERROR | [x] Missing function doc comment 559 | ERROR | [x] Expected 1 space after IF keyword; 0 found 564 | ERROR | [x] Expected 1 space after IF keyword; 0 found 565 | ERROR | [x] Expected 1 space before "?"; 0 found 565 | ERROR | [x] Expected 1 space after "?"; 0 found 565 | ERROR | [x] Expected 1 space before ":"; 0 found 565 | ERROR | [x] Expected 1 space after ":"; 0 found 565 | ERROR | [x] Concat operator must be surrounded by a single space 567 | ERROR | [x] Whitespace found at end of line 569 | WARNING | [ ] Redeclaration of variable $user as global variable. 570 | ERROR | [x] Expected 1 space after IF keyword; 0 found 571 | ERROR | [x] Expected 1 space before "?"; 0 found 571 | ERROR | [x] Expected 1 space after "?"; 0 found 571 | ERROR | [x] Expected 1 space before ":"; 0 found 571 | ERROR | [x] Expected 1 space after ":"; 0 found 571 | ERROR | [x] Concat operator must be surrounded by a single space 573 | ERROR | [x] Short array syntax must be used to define arrays 576 | ERROR | [x] Closing parenthesis of array declaration must be on a new line 577 | ERROR | [x] Whitespace found at end of line 580 | ERROR | [x] Whitespace found at end of line 581 | ERROR | [x] Expected 1 space after TRY keyword; 0 found 583 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 584 | WARNING | [x] A comma should follow the last multiline array item. Found: $data 585 | ERROR | [x] Whitespace found at end of line 587 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found 587 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 590 | ERROR | [x] Short array syntax must be used to define arrays 592 | WARNING | [x] A comma should follow the last multiline array item. Found: $error 596 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found 596 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 597 | ERROR | [x] Short array syntax must be used to define arrays 599 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 604 | ERROR | [x] Expected 1 space after IF keyword; 0 found 604 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 608 | WARNING | [ ] Line exceeds 80 characters; contains 124 characters 608 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 9 609 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 9 617 | ERROR | [x] Short array syntax must be used to define arrays 619 | ERROR | [x] Expected one space after the comma, 0 found 620 | ERROR | [x] Expected one space after the comma, 0 found 624 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 625 | ERROR | [x] Expected 1 space after IF keyword; 0 found 629 | ERROR | [x] Expected one space after the comma, 0 found 637 | ERROR | [x] Expected 1 blank line after function; 2 found 640 | ERROR | [ ] Public method name "drupalchatController::drupalchat_get_thread_history" is not in lowerCamel format 640 | ERROR | [x] Missing function doc comment 642 | ERROR | [x] Short array syntax must be used to define arrays 643 | ERROR | [x] Expected 1 space after IF keyword; 0 found 643 | ERROR | [ ] The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('drupalchat_open_chat_uids') instead 644 | ERROR | [ ] The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('drupalchat_open_chat_uids') instead 646 | ERROR | [x] Short array syntax must be used to define arrays 647 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 650 | ERROR | [x] Expected 1 space after IF keyword; 0 found 654 | ERROR | [x] Concat operator must be surrounded by a single space 657 | ERROR | [x] Expected 1 space after IF keyword; 0 found 658 | ERROR | [x] Short array syntax must be used to define arrays 658 | ERROR | [ ] The array declaration extends to column 227 (the limit is 80). The array content should be split up over multiple lines 661 | ERROR | [x] Short array syntax must be used to define arrays 661 | ERROR | [ ] The array declaration extends to column 285 (the limit is 80). The array content should be split up over multiple lines 665 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 8 665 | ERROR | [x] No space found before comment text; expected "// print_r($message);" but found "//print_r($message);" 666 | ERROR | [x] Expected 1 space after IF keyword; 0 found 666 | ERROR | [x] Expected one space after the comma, 0 found 666 | ERROR | [x] Expected one space after the comma, 0 found 666 | ERROR | [x] Concat operator must be surrounded by a single space 667 | ERROR | [x] Expected 1 space after IF keyword; 0 found 667 | ERROR | [x] Expected one space after the comma, 0 found 669 | ERROR | [x] Short array syntax must be used to define arrays 669 | ERROR | [ ] The array declaration extends to column 283 (the limit is 80). The array content should be split up over multiple lines 669 | ERROR | [x] Comma not allowed after last value in single-line array declaration 671 | ERROR | [x] Expected 1 space after IF keyword; 0 found 679 | ERROR | [x] Short array syntax must be used to define arrays 679 | ERROR | [ ] The array declaration extends to column 142 (the limit is 80). The array content should be split up over multiple lines 680 | ERROR | [x] Short array syntax must be used to define arrays 680 | ERROR | [ ] The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines 680 | ERROR | [x] Comma not allowed after last value in single-line array declaration 682 | ERROR | [x] Expected 1 space after IF keyword; 0 found 689 | ERROR | [x] Expected 1 space after IF keyword; 0 found 689 | ERROR | [x] Expected one space after the comma, 0 found 691 | ERROR | [x] Short array syntax must be used to define arrays 691 | ERROR | [ ] The array declaration extends to column 283 (the limit is 80). The array content should be split up over multiple lines 691 | ERROR | [x] Comma not allowed after last value in single-line array declaration 694 | ERROR | [x] Expected 1 space after IF keyword; 0 found 702 | ERROR | [x] Short array syntax must be used to define arrays 702 | ERROR | [ ] The array declaration extends to column 142 (the limit is 80). The array content should be split up over multiple lines 703 | ERROR | [x] Short array syntax must be used to define arrays 703 | ERROR | [ ] The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines 703 | ERROR | [x] Comma not allowed after last value in single-line array declaration 705 | ERROR | [x] Expected 1 space after IF keyword; 0 found 716 | ERROR | [x] Whitespace found at end of line 717 | ERROR | [x] Expected 1 blank line after function; 5 found 719 | ERROR | [x] Whitespace found at end of line 723 | ERROR | [ ] Public method name "drupalchatController::drupalchat_return_pic_url" is not in lowerCamel format 723 | ERROR | [x] Missing function doc comment 723 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 724 | ERROR | [x] Whitespace found at end of line 725 | WARNING | [ ] Unused variable $user. 726 | ERROR | [x] Expected 1 space after IF keyword; 0 found 726 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 727 | ERROR | [x] Expected 1 space after "="; 2 found 727 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 727 | ERROR | [x] Whitespace found at end of line 728 | ERROR | [x] Expected newline after closing brace 729 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 731 | ERROR | [x] Whitespace found at end of line 732 | ERROR | [x] Whitespace found at end of line 733 | ERROR | [x] Expected 1 blank line after function; 2 found 736 | ERROR | [ ] Public method name "drupalchatController::drupalchat_return_pic_url_any_user" is not in lowerCamel format 736 | ERROR | [x] Missing function doc comment 739 | WARNING | [ ] Unused variable $user_picture. 739 | ERROR | [x] Short array syntax must be used to define arrays 743 | ERROR | [x] Whitespace found at end of line 744 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 747 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 747 | ERROR | [x] Comments may not appear after statements 747 | ERROR | [x] No space found before comment text; expected "// (string)$row_user;" but found "//(string)$row_user;" 750 | ERROR | [x] Expected 1 space after IF keyword; 0 found 752 | ERROR | [x] Expected newline after closing brace 754 | ERROR | [x] Expected 1 space after IF keyword; 0 found 759 | ERROR | [x] Concat operator must be surrounded by a single space 759 | ERROR | [x] Concat operator must be surrounded by a single space 765 | ERROR | [x] Expected 1 space after IF keyword; 0 found 765 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 766 | ERROR | [x] Expected 1 space before "+"; 0 found 766 | ERROR | [x] Expected 1 space after "+"; 0 found 769 | ERROR | [x] Expected newline after closing brace 769 | ERROR | [x] There should be no white space after an opening "{" 769 | ERROR | [x] Comments may not appear after statements 769 | ERROR | [x] Inline comments must start with a capital letter 769 | ERROR | [x] Whitespace found at end of line 770 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 771 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 771 | ERROR | [x] Concat operator must be surrounded by a single space 771 | ERROR | [x] Concat operator must be surrounded by a single space 772 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 773 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 774 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 774 | ERROR | [x] Expected 1 space after IF keyword; 0 found 774 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 775 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 10 775 | ERROR | [x] Expected 1 space before "+"; 0 found 775 | ERROR | [x] Expected 1 space after "+"; 0 found 776 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 782 | ERROR | [ ] Public method name "drupalchatController::drupalchat_return_profile_url" is not in lowerCamel format 782 | ERROR | [x] Missing function doc comment 785 | ERROR | [x] Expected 1 space after IF keyword; 0 found 786 | ERROR | [x] Expected 1 space after "="; 2 found 786 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 786 | ERROR | [x] Short array syntax must be used to define arrays 791 | ERROR | [ ] Private method name "drupalchatController::_drupalchat_get_friends" is not in lowerCamel format 791 | ERROR | [x] Missing function doc comment 791 | ERROR | [x] Expected 1 space before opening brace; found 0 792 | ERROR | [x] Short array syntax must be used to define arrays 793 | ERROR | [x] No space found before comment text; expected "// hook to filter friends" but found "//hook to filter friends" 793 | ERROR | [x] Inline comments must start with a capital letter 793 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 800 | ERROR | [x] Doc comment short description must end with a full stop 802 | ERROR | [ ] Private method name "drupalchatController::_drupalchat_get_groups" is not in lowerCamel format 804 | ERROR | [x] Short array syntax must be used to define arrays 806 | ERROR | [x] Expected 1 space after IF keyword; 0 found 808 | ERROR | [x] Expected 1 space after IF keyword; 0 found 813 | ERROR | [x] No space found before comment text; expected "// hook to filter groups" but found "//hook to filter groups" 813 | ERROR | [x] Inline comments must start with a capital letter 813 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 816 | ERROR | [x] Expected 1 blank line after function; 2 found 819 | ERROR | [ ] Public method name "drupalchatController::_drupalchat_get_user_details" is not in lowerCamel format 819 | ERROR | [x] Missing function doc comment 819 | ERROR | [x] Expected 1 space before opening brace; found 0 822 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 825 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 826 | ERROR | [x] Expected newline after closing brace 826 | ERROR | [x] Use "elseif" in place of "else if" 827 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 828 | ERROR | [x] Expected newline after closing brace 829 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 835 | ERROR | [x] Short array syntax must be used to define arrays 843 | ERROR | [ ] Comment indentation error, expected only 1 spaces 846 | ERROR | [ ] Comment indentation error, expected only 1 spaces 846 | ERROR | [x] Whitespace found at end of line 850 | ERROR | [ ] Comment indentation error, expected only 3 spaces 853 | WARNING | [x] There must be no blank line following an inline comment 853 | WARNING | [ ] There must be no blank line following an inline comment 855 | ERROR | [x] Expected 1 space after IF keyword; 0 found 855 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 857 | ERROR | [x] Expected newline after closing brace 857 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found 859 | ERROR | [x] Expected 1 space after IF keyword; 0 found 863 | ERROR | [x] Short array syntax must be used to define arrays 863 | ERROR | [x] Whitespace found at end of line 865 | ERROR | [x] No space found before comment text; expected "// print_r(gettype($roles));" but found "//print_r(gettype($roles));" 866 | ERROR | [x] Expected 1 space after FOR keyword; 0 found 866 | ERROR | [ ] sizeof() is a function name alias, use count() instead 866 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 867 | ERROR | [x] Expected 1 space(s) after cast statement; 0 found 873 | ERROR | [x] Expected 1 space after IF keyword; 0 found 873 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 875 | ERROR | [x] Expected newline after closing brace 875 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found 879 | ERROR | [x] Short array syntax must be used to define arrays 889 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 891 | ERROR | [x] Whitespace found at end of line 891 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 893 | ERROR | [x] Expected 1 space after IF keyword; 0 found 893 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 895 | ERROR | [x] Expected newline after closing brace 895 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found 898 | ERROR | [x] Whitespace found at end of line 899 | ERROR | [x] Expected 1 space after IF keyword; 0 found 899 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 901 | ERROR | [x] Expected newline after closing brace 901 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found 904 | ERROR | [x] Whitespace found at end of line 905 | ERROR | [x] Short array syntax must be used to define arrays 906 | ERROR | [x] Short array syntax must be used to define arrays 912 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 913 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 914 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 10 915 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 10 916 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 917 | ERROR | [x] Expected newline after closing brace 917 | ERROR | [x] Use "elseif" in place of "else if" 918 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 919 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 921 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 922 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 12 923 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 12 924 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 924 | ERROR | [x] Expected newline after closing brace 925 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 12 926 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 927 | ERROR | [x] Expected newline after closing brace 927 | ERROR | [x] Use "elseif" in place of "else if" 929 | ERROR | [x] Short array syntax must be used to define arrays 934 | ERROR | [x] Expected newline after closing brace 934 | ERROR | [x] Use "elseif" in place of "else if" 934 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 935 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 936 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 941 | ERROR | [x] Expected 1 blank line after function; 2 found 944 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 944 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 944 | ERROR | [ ] Public method name "drupalchatController::_drupalchat_get_auth" is not in lowerCamel format 944 | ERROR | [x] Missing function doc comment 945 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 945 | ERROR | [x] Whitespace found at end of line 946 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 946 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 947 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 947 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 949 | ERROR | [x] Inline comments must start with a capital letter 950 | ERROR | [x] Expected 1 space after IF keyword; 0 found 950 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 952 | ERROR | [x] Expected newline after closing brace 952 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found 957 | ERROR | [x] Expected 1 space after IF keyword; 0 found 957 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 959 | ERROR | [x] Expected newline after closing brace 959 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found 963 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 963 | ERROR | [x] Whitespace found at end of line 963 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 965 | ERROR | [x] Short array syntax must be used to define arrays 966 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 974 | ERROR | [x] Whitespace found at end of line 974 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 976 | ERROR | [x] Concat operator must be surrounded by a single space 979 | WARNING | [x] There must be no blank line following an inline comment 979 | WARNING | [ ] There must be no blank line following an inline comment 980 | ERROR | [x] Whitespace found at end of line 981 | ERROR | [x] Expected 1 space after TRY keyword; 0 found 983 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 986 | ERROR | [x] Whitespace found at end of line 988 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found 988 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 991 | ERROR | [x] Short array syntax must be used to define arrays 993 | WARNING | [x] A comma should follow the last multiline array item. Found: $error 997 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found 997 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 998 | ERROR | [x] Short array syntax must be used to define arrays 1000 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 1005 | ERROR | [x] Expected 1 space after IF keyword; 0 found 1005 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 1007 | ERROR | [x] Expected 1 space after IF keyword; 0 found 1007 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 1010 | ERROR | [x] Expected 1 space after IF keyword; 0 found 1010 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 1016 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 1016 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 1016 | ERROR | [x] Expected 1 blank line after function; 3 found 1019 | ERROR | [ ] More than 2 empty lines are not allowed 1020 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 1020 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 1020 | ERROR | [ ] Public method name "drupalchatController::ex_auth" is not in lowerCamel format 1020 | ERROR | [x] Missing function doc comment 1021 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 1021 | ERROR | [x] Whitespace found at end of line 1022 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 1022 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 1023 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 1023 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 1023 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 1023 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 1024 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 1024 | WARNING | [ ] Unused variable $user_name. 1024 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 1025 | ERROR | [x] Expected 1 space before "="; 0 found 1026 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 1026 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 1026 | ERROR | [x] Expected 1 space after IF keyword; 0 found 1026 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 1027 | ERROR | [x] Short array syntax must be used to define arrays 1027 | ERROR | [x] Whitespace found at end of line 1028 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 1028 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 1029 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 1029 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 1030 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 1030 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 1035 | ERROR | [ ] Public method name "drupalchatController::drupalchat_app_settings" is not in lowerCamel format 1035 | ERROR | [x] Expected 1 space before opening brace; found 0 1037 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 1037 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 1038 | WARNING | [ ] Unused variable $user_name. 1040 | ERROR | [x] Expected 1 space after IF keyword; 0 found 1040 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 1042 | ERROR | [x] Expected newline after closing brace 1042 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found 1043 | ERROR | [x] Short array syntax must be used to define arrays 1051 | ERROR | [x] Concat operator must be surrounded by a single space 1051 | ERROR | [x] Concat operator must be surrounded by a single space 1051 | ERROR | [x] Concat operator must be surrounded by a single space 1051 | ERROR | [x] Concat operator must be surrounded by a single space 1051 | ERROR | [x] Concat operator must be surrounded by a single space 1051 | ERROR | [x] Concat operator must be surrounded by a single space 1051 | ERROR | [x] Concat operator must be surrounded by a single space 1053 | ERROR | [x] Inline comments must start with a capital letter 1054 | WARNING | [ ] Line exceeds 80 characters; contains 127 characters 1054 | ERROR | [ ] Comment indentation error, expected only 1 spaces 1056 | WARNING | [x] There must be no blank line following an inline comment 1056 | WARNING | [ ] There must be no blank line following an inline comment 1056 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 1058 | ERROR | [x] Short array syntax must be used to define arrays 1059 | ERROR | [x] Short array syntax must be used to define arrays 1061 | ERROR | [x] Short array syntax must be used to define arrays 1061 | ERROR | [x] Concat operator must be surrounded by a single space 1061 | ERROR | [x] Concat operator must be surrounded by a single space 1062 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 1066 | ERROR | [x] Whitespace found at end of line 1067 | ERROR | [x] Expected 1 blank line after function; 2 found 1070 | ERROR | [ ] Public method name "drupalchatController::_drupalchat_chat" is not in lowerCamel format 1070 | ERROR | [x] Missing function doc comment 1073 | ERROR | [x] Short array syntax must be used to define arrays 1079 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 1081 | ERROR | [x] No space found before comment text; expected "// JON COMMENTS" but found "//JON COMMENTS" 1081 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 1082 | ERROR | [x] Concat operator must be surrounded by a single space 1083 | ERROR | [x] Whitespace found at end of line 1084 | ERROR | [x] Short array syntax must be used to define arrays 1087 | ERROR | [x] Short array syntax must be used to define arrays 1087 | ERROR | [ ] The array declaration extends to column 173 (the limit is 80). The array content should be split up over multiple lines 1087 | ERROR | [x] Short array syntax must be used to define arrays 1087 | ERROR | [ ] The array declaration extends to column 172 (the limit is 80). The array content should be split up over multiple lines 1087 | ERROR | [x] Expected 1 space between double arrow and "'status-'"; 0 found 1087 | ERROR | [x] Expected 1 space between double arrow and "'status-'"; 0 found 1087 | ERROR | [x] Expected 1 space after "=>"; 0 found 1087 | ERROR | [x] Comma not allowed after last value in single-line array declaration 1090 | ERROR | [x] Whitespace found at end of line 1092 | ERROR | [x] Short array syntax must be used to define arrays 1095 | WARNING | [x] A comma should follow the last multiline array item. Found: 'ul' 1097 | ERROR | [x] Whitespace found at end of line 1101 | ERROR | [x] Short array syntax must be used to define arrays 1102 | ERROR | [x] Short array syntax must be used to define arrays 1104 | ERROR | [x] Short array syntax must be used to define arrays 1106 | ERROR | [x] Short array syntax must be used to define arrays 1114 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters 1114 | WARNING | [x] There must be no blank line following an inline comment 1114 | WARNING | [ ] There must be no blank line following an inline comment 1114 | ERROR | [x] No space found before comment text; expected "// $chat['text'] = t('Chat') . ' (<span class="online-count">' . count($items) . '</span>)';" but found "//$chat['text'] = t('Chat') . ' (<span class="online-count">' | | . count($items) . '</span>)';" 1123 | ERROR | [x] Short array syntax must be used to define arrays 1123 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 1125 | ERROR | [x] Whitespace found at end of line 1128 | ERROR | [x] Short array syntax must be used to define arrays 1130 | WARNING | [x] A comma should follow the last multiline array item. Found: $chat 1134 | ERROR | [x] Expected 1 blank line after function; 2 found 1140 | ERROR | [ ] Public method name "drupalchatController::_drupalchat_ur_autocomplete" is not in lowerCamel format 1142 | WARNING | [x] There must be no blank line following an inline comment 1142 | WARNING | [ ] There must be no blank line following an inline comment 1142 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 1144 | ERROR | [x] Expected 1 space after "="; 2 found 1145 | ERROR | [x] Short array syntax must be used to define arrays 1147 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 1149 | ERROR | [x] Short array syntax must be used to define arrays 1154 | ERROR | [x] Inline comments must start with a capital letter 1154 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 1156 | ERROR | [x] Inline control structures are not allowed 1156 | ERROR | [x] Expected 1 space after IF keyword; 0 found 1160 | ERROR | [x] Inline comments must start with a capital letter 1160 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 1162 | ERROR | [x] Expected 1 blank line after function; 2 found 1165 | ERROR | [x] Expected 1 newline at end of file; 5 found 1165 | ERROR | [x] The closing brace for the class must have an empty line before it 1168 | ERROR | [ ] More than 2 empty lines are not allowed 1169 | ERROR | [ ] More than 2 empty lines are not allowed -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 585 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Time: 581ms; Memory: 26MB
Steps to reproduce
Run following command
phpcs --standard=“Drupal,DrupalPractice” --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css,js .
- Issue was unassigned.
- 🇨🇦Canada imustakim Canada
Some of the issues are fixed in MR.
These are the remaining issue.FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/drupalchat.module -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 4 ERRORS AND 13 WARNINGS AFFECTING 17 LINES -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 8 | WARNING | Global constants should not be used, move it to a class or interface 9 | WARNING | Global constants should not be used, move it to a class or interface 10 | WARNING | Global constants should not be used, move it to a class or interface 11 | WARNING | Global constants should not be used, move it to a class or interface 13 | WARNING | Global constants should not be used, move it to a class or interface 14 | WARNING | Global constants should not be used, move it to a class or interface 15 | WARNING | Global constants should not be used, move it to a class or interface 17 | WARNING | Global constants should not be used, move it to a class or interface 18 | WARNING | Global constants should not be used, move it to a class or interface 19 | WARNING | Global constants should not be used, move it to a class or interface 20 | WARNING | Global constants should not be used, move it to a class or interface 52 | 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." 97 | ERROR | Doc comment is empty 111 | WARNING | Line exceeds 80 characters; contains 88 characters 120 | ERROR | The array declaration extends to column 118 (the limit is 80). The array content should be split up over multiple lines 355 | ERROR | Doc comment is empty 410 | ERROR | Doc comment is empty -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/css/themes/light/light.css --------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES --------------------------------------------------------------------------------- 245 | ERROR | Class definition is empty 361 | ERROR | Class definition is empty --------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/jquery.titlealert.min.js ---------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------- 1 | WARNING | File appears to be minified and cannot be processed ---------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/js/swfobject.js ---------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------- 1 | WARNING | File appears to be minified and cannot be processed ---------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/drupalchat.install ------------------------------------------------------------------------- FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES ------------------------------------------------------------------------- 19 | WARNING | Line exceeds 80 characters; contains 93 characters 113 | ERROR | Doc comment is empty 148 | ERROR | Doc comment is empty ------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/drupalchat.info.yml ----------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------- 1 | WARNING | "core_version_requirement" property is missing in the info.yml file ----------------------------------------------------------------------------------- FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/src/Form/drupalchatSettingsForm.php ------------------------------------------------------------------------------------------------------------------------------------------ FOUND 10 ERRORS AND 21 WARNINGS AFFECTING 25 LINES ------------------------------------------------------------------------------------------------------------------------------------------ 15 | WARNING | The class short comment should describe what the class does and not simply repeat the class name 16 | ERROR | Class name must begin with a capital letter 43 | ERROR | The array declaration extends to column 351 (the limit is 80). The array content should be split up over multiple lines 50 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 59 | WARNING | Line exceeds 80 characters; contains 150 characters 64 | ERROR | The array declaration extends to column 239 (the limit is 80). The array content should be split up over multiple lines 113 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables 113 | ERROR | Concatenating translatable strings is not allowed, use placeholders instead and only one string literal 113 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 113 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 127 | WARNING | #options values usually have to run through t() for translation 159 | ERROR | Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead 174 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 185 | ERROR | The array declaration extends to column 309 (the limit is 80). The array content should be split up over multiple lines 187 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 223 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 226 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 229 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 264 | WARNING | User::load calls should be avoided in classes, use dependency injection instead 264 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 265 | WARNING | Unused variable $user_name. 284 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 288 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 292 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 308 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 345 | ERROR | Doc comment is empty 348 | WARNING | Unused private method _drupalchat_load_themes() 348 | ERROR | Private method name "drupalchatSettingsForm::_drupalchat_load_themes" is not in lowerCamel format 366 | ERROR | Doc comment is empty 369 | WARNING | Unused private method _drupalchat_remove_extension() 369 | ERROR | Private method name "drupalchatSettingsForm::_drupalchat_remove_extension" is not in lowerCamel format ------------------------------------------------------------------------------------------------------------------------------------------ FILE: /Users/specbee/Sites/Projects/drupalchat-3323914/src/Controller/drupalchatController.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 96 ERRORS AND 35 WARNINGS AFFECTING 123 LINES ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 15 | ERROR | Doc comment is empty 18 | ERROR | Class name must begin with a capital letter 20 | ERROR | Doc comment is empty 23 | ERROR | Public method name "drupalchatController::drupalchat_verify_access" is not in lowerCamel format 43 | WARNING | Line exceeds 80 characters; contains 81 characters 44 | WARNING | Line exceeds 80 characters; contains 84 characters 45 | WARNING | Line exceeds 80 characters; contains 81 characters 53 | WARNING | Line exceeds 80 characters; contains 118 characters 74 | ERROR | Doc comment is empty 77 | ERROR | Public method name "drupalchatController::_drupalchat_get_sid" is not in lowerCamel format 99 | ERROR | The $_COOKIE super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->cookies->get('drupalchat_c_session') instead 116 | ERROR | Doc comment is empty 119 | ERROR | Public method name "drupalchatController::drupalchat_get_random_name" is not in lowerCamel format 127 | ERROR | Doc comment short description must start with a capital letter 128 | ERROR | Doc comment short description must end with a full stop 128 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 130 | ERROR | Public method name "drupalchatController::drupalchat_send" is not in lowerCamel format 135 | ERROR | The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('form_token') instead 136 | ERROR | The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('form_id') instead 144 | ERROR | The array declaration extends to column 224 (the limit is 80). The array content should be split up over multiple lines 144 | ERROR | The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('drupalchat_message_id') instead 144 | ERROR | The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('drupalchat_uid2') instead 145 | ERROR | The array declaration extends to column 81 (the limit is 80). The array content should be split up over multiple lines 145 | ERROR | The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('drupalchat_message') instead 158 | ERROR | Doc comment short description must start with a capital letter 159 | ERROR | Doc comment short description must end with a full stop 159 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 161 | ERROR | Public method name "drupalchatController::drupalchat_poll" is not in lowerCamel format 163 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 171 | ERROR | The $_GET super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->query->get('drupalchat_last_timestamp') instead 172 | ERROR | The $_GET super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->query->get('drupalchat_last_timestamp') instead 182 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 190 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 200 | ERROR | The array declaration extends to column 124 (the limit is 80). The array content should be split up over multiple lines 206 | ERROR | The array declaration extends to column 141 (the limit is 80). The array content should be split up over multiple lines 210 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 215 | ERROR | The array declaration extends to column 279 (the limit is 80). The array content should be split up over multiple lines 218 | ERROR | The array declaration extends to column 318 (the limit is 80). The array content should be split up over multiple lines 226 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 227 | ERROR | The array declaration extends to column 275 (the limit is 80). The array content should be split up over multiple lines 228 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 236 | ERROR | The array declaration extends to column 135 (the limit is 80). The array content should be split up over multiple lines 237 | ERROR | The array declaration extends to column 240 (the limit is 80). The array content should be split up over multiple lines 238 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 239 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 246 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 247 | ERROR | The array declaration extends to column 275 (the limit is 80). The array content should be split up over multiple lines 248 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 256 | ERROR | The array declaration extends to column 135 (the limit is 80). The array content should be split up over multiple lines 257 | ERROR | The array declaration extends to column 240 (the limit is 80). The array content should be split up over multiple lines 258 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 259 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 281 | ERROR | Doc comment is empty 284 | ERROR | Private method name "drupalchatController::_drupalchat_touch_user" is not in lowerCamel format 294 | ERROR | Doc comment is empty 297 | ERROR | Private method name "drupalchatController::_drupalchat_buddylist_diff" is not in lowerCamel format 314 | ERROR | Doc comment is empty 317 | ERROR | Public method name "drupalchatController::_drupalchat_buddylist" is not in lowerCamel format 322 | ERROR | The array declaration extends to column 172 (the limit is 80). The array content should be split up over multiple lines 323 | WARNING | Unused variable $rid. 328 | ERROR | The array declaration extends to column 133 (the limit is 80). The array content should be split up over multiple lines 337 | ERROR | Doc comment is empty 340 | ERROR | Public method name "drupalchatController::_drupalchat_get_buddylist" is not in lowerCamel format 352 | ERROR | The array declaration extends to column 112 (the limit is 80). The array content should be split up over multiple lines 353 | WARNING | Unused variable $rid. 362 | ERROR | The array declaration extends to column 133 (the limit is 80). The array content should be split up over multiple lines 370 | ERROR | Doc comment is empty 373 | ERROR | Public method name "drupalchatController::_drupalchat_buddylist_online" is not in lowerCamel format 380 | ERROR | The array declaration extends to column 85 (the limit is 80). The array content should be split up over multiple lines 423 | ERROR | The array declaration extends to column 110 (the limit is 80). The array content should be split up over multiple lines 429 | ERROR | The array declaration extends to column 120 (the limit is 80). The array content should be split up over multiple lines 446 | ERROR | Public method name "drupalchatController::drupalchat_get_messages" is not in lowerCamel format 465 | ERROR | Comment indentation error, expected only 1 spaces 468 | ERROR | Comment indentation error, expected only 1 spaces 477 | ERROR | Doc comment is empty 509 | WARNING | Line exceeds 80 characters; contains 124 characters 548 | WARNING | Unused variable $record. 550 | WARNING | Line exceeds 80 characters; contains 81 characters 551 | WARNING | Line exceeds 80 characters; contains 421 characters 562 | ERROR | Doc comment is empty 565 | ERROR | Public method name "drupalchatController::drupalchat_get_messages_specific" is not in lowerCamel format 576 | WARNING | Redeclaration of variable $user as global variable. 616 | WARNING | Line exceeds 80 characters; contains 125 characters 647 | ERROR | Doc comment is empty 650 | ERROR | Public method name "drupalchatController::drupalchat_get_thread_history" is not in lowerCamel format 653 | ERROR | The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('drupalchat_open_chat_uids') instead 654 | ERROR | The $_POST super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->request->get('drupalchat_open_chat_uids') instead 668 | ERROR | The array declaration extends to column 222 (the limit is 80). The array content should be split up over multiple lines 671 | ERROR | The array declaration extends to column 280 (the limit is 80). The array content should be split up over multiple lines 679 | ERROR | The array declaration extends to column 277 (the limit is 80). The array content should be split up over multiple lines 689 | ERROR | The array declaration extends to column 137 (the limit is 80). The array content should be split up over multiple lines 690 | ERROR | The array declaration extends to column 242 (the limit is 80). The array content should be split up over multiple lines 701 | ERROR | The array declaration extends to column 277 (the limit is 80). The array content should be split up over multiple lines 712 | ERROR | The array declaration extends to column 137 (the limit is 80). The array content should be split up over multiple lines 713 | ERROR | The array declaration extends to column 242 (the limit is 80). The array content should be split up over multiple lines 729 | ERROR | Doc comment is empty 732 | ERROR | Public method name "drupalchatController::drupalchat_return_pic_url" is not in lowerCamel format 734 | WARNING | Unused variable $user. 745 | ERROR | Doc comment is empty 748 | ERROR | Public method name "drupalchatController::drupalchat_return_pic_url_any_user" is not in lowerCamel format 751 | WARNING | Unused variable $user_picture. 798 | ERROR | Doc comment is empty 801 | ERROR | Public method name "drupalchatController::drupalchat_return_profile_url" is not in lowerCamel format 810 | ERROR | Doc comment is empty 813 | ERROR | Private method name "drupalchatController::_drupalchat_get_friends" is not in lowerCamel format 824 | ERROR | Private method name "drupalchatController::_drupalchat_get_groups" is not in lowerCamel format 840 | ERROR | Doc comment is empty 843 | ERROR | Public method name "drupalchatController::_drupalchat_get_user_details" is not in lowerCamel format 869 | ERROR | Comment indentation error, expected only 1 spaces 872 | ERROR | Comment indentation error, expected only 1 spaces 876 | ERROR | Comment indentation error, expected only 3 spaces 892 | ERROR | sizeof() is a function name alias, use count() instead 975 | ERROR | Doc comment is empty 978 | ERROR | Public method name "drupalchatController::_drupalchat_get_auth" is not in lowerCamel format 1051 | ERROR | Doc comment is empty 1054 | ERROR | Public method name "drupalchatController::ex_auth" is not in lowerCamel format 1057 | WARNING | User::load calls should be avoided in classes, use dependency injection instead 1057 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 1058 | WARNING | Unused variable $user_name. 1069 | ERROR | Public method name "drupalchatController::drupalchat_app_settings" is not in lowerCamel format 1071 | WARNING | User::load calls should be avoided in classes, use dependency injection instead 1071 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead 1072 | WARNING | Unused variable $user_name. 1089 | WARNING | Line exceeds 80 characters; contains 127 characters 1089 | ERROR | Comment indentation error, expected only 1 spaces 1096 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 1103 | ERROR | Doc comment is empty 1106 | ERROR | Public method name "drupalchatController::_drupalchat_chat" is not in lowerCamel format 1122 | ERROR | The array declaration extends to column 163 (the limit is 80). The array content should be split up over multiple lines 1149 | WARNING | Line exceeds 80 characters; contains 96 characters 1173 | ERROR | Public method name "drupalchatController::_drupalchat_ur_autocomplete" is not in lowerCamel format ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Time: 823ms; Memory: 26MB
- Status changed to Needs review
over 1 year ago 4:08pm 24 May 2023 - Assigned to arpitk
- Status changed to Needs work
over 1 year ago 7:16am 26 May 2023 - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 8:44pm 30 May 2023 - Status changed to Needs work
over 1 year ago 11:30am 1 August 2023 - First commit to issue fork.
- Status changed to Needs review
over 1 year ago 12:25pm 1 August 2023 - Status changed to Needs work
over 1 year ago 12:48pm 1 August 2023 - Status changed to Needs review
12 months ago 6:40am 18 January 2024 - Status changed to Needs work
5 months ago 2:50am 14 August 2024 Hi @everyone,
Applied the changes committed on MR!1, it was applied successfully but, the error below were still reported. Please see:
drupalchat git:(8.x-1.x) curl https://git.drupalcode.org/project/drupalchat/-/merge_requests/1.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 240k 0 240k 0 0 471k 0 --:--:-- --:--:-- --:--:-- 483k patching file config/install/drupalchat.settings.yml patching file config/schema/drupalchat.schema.yml patching file css/themes/dark/dark.css patching file css/themes/light/light.css patching file drupalchat.info.yml patching file drupalchat.install patching file drupalchat.libraries.yml patching file drupalchat.links.menu.yml patching file drupalchat.links.task.yml patching file drupalchat.module patching file drupalchat.routing.yml patching file guest_names/drupalchat_guest_random_names.txt patching file js/ba-emotify.js patching file js/drupalchat-auth-token.js patching file js/drupalchat-auth-url.js patching file js/drupalchat-bundle.js patching file js/drupalchat-jstorage.js patching file js/drupalchat-path-visibility.js patching file js/drupalchat-popup.js patching file js/drupalchat-settings-options.js patching file js/drupalchat.js patching file src/Controller/drupalchatController.php patching file src/Form/drupalchatSettingsForm.php ➜ drupalchat git:(8.x-1.x) ✗ .. ➜ contrib git:(master) ✗ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig drupalchat FILE: ...o-site/drupal-orgissue-v9/web/modules/contrib/drupalchat/drupalchat.module -------------------------------------------------------------------------------- FOUND 4 ERRORS AND 13 WARNINGS AFFECTING 17 LINES -------------------------------------------------------------------------------- 8 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 9 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 10 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 11 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 13 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 14 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 15 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 17 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 18 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 19 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 20 | WARNING | [ ] Global constants should not be used, move it to a class or | | interface 44 | ERROR | [x] Use statements should be sorted alphabetically. The first | | wrong one is | | Drupal\drupalchat\Controller\DrupalChatController. 52 | 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." 97 | ERROR | [ ] Doc comment is empty 111 | WARNING | [ ] Line exceeds 80 characters; contains 88 characters 355 | ERROR | [ ] Doc comment is empty 410 | ERROR | [ ] Doc comment is empty -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: ...upal-orgissue-v9/web/modules/contrib/drupalchat/css/themes/light/light.css -------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES -------------------------------------------------------------------------------- 245 | ERROR | Class definition is empty 361 | ERROR | Class definition is empty -------------------------------------------------------------------------------- FILE: ...-site/drupal-orgissue-v9/web/modules/contrib/drupalchat/drupalchat.install -------------------------------------------------------------------------------- FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES -------------------------------------------------------------------------------- 19 | WARNING | Line exceeds 80 characters; contains 93 characters 113 | ERROR | Doc comment is empty 148 | ERROR | Doc comment is empty -------------------------------------------------------------------------------- FILE: ...site/drupal-orgissue-v9/web/modules/contrib/drupalchat/drupalchat.info.yml -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 1 | WARNING | "core_version_requirement" property is missing in the info.yml | | file -------------------------------------------------------------------------------- FILE: ...-orgissue-v9/web/modules/contrib/drupalchat/templates/drupalchat.html.twig -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 10 | ERROR | [x] Expected 1 newline at end of file; 0 found -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: ...-v9/web/modules/contrib/drupalchat/templates/drupalchat-subpanel.html.twig -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 25 | ERROR | [x] Expected 1 newline at end of file; 0 found -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: ...ssue-v9/web/modules/contrib/drupalchat/src/Form/drupalchatSettingsForm.php -------------------------------------------------------------------------------- FOUND 11 ERRORS AND 7 WARNINGS AFFECTING 14 LINES -------------------------------------------------------------------------------- 8 | ERROR | [x] Use statements should be sorted alphabetically. The first | | wrong one is Drupal\Core\Url. 17 | WARNING | [ ] The class short comment should describe what the class | | does and not simply repeat the class name 18 | ERROR | [ ] Class name must begin with a capital letter 82 | ERROR | [ ] The array declaration extends to column 351 (the limit is | | 120). The array content should be split up over multiple | | lines 98 | WARNING | [ ] Line exceeds 80 characters; contains 150 characters 103 | ERROR | [ ] The array declaration extends to column 239 (the limit is | | 120). The array content should be split up over multiple | | lines 152 | WARNING | [ ] Translatable strings must not begin or end with white | | spaces, use placeholders with t() for variables 152 | ERROR | [ ] Concatenating translatable strings is not allowed, use | | placeholders instead and only one string literal 152 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency | | injection instead 198 | ERROR | [ ] Inline doc block comments are not allowed; use "/* Comment | | */" or "// Comment" instead 224 | ERROR | [ ] The array declaration extends to column 309 (the limit is | | 120). The array content should be split up over multiple | | lines 304 | WARNING | [ ] Unused variable $user_name. 384 | ERROR | [ ] Doc comment is empty 387 | WARNING | [ ] Unused private method _drupalchat_load_themes() 387 | ERROR | [ ] Private method name | | "drupalchatSettingsForm::_drupalchat_load_themes" is not | | in lowerCamel format 405 | ERROR | [ ] Doc comment is empty 408 | WARNING | [ ] Unused private method _drupalchat_remove_extension() 408 | ERROR | [ ] Private method name | | "drupalchatSettingsForm::_drupalchat_remove_extension" is | | not in lowerCamel format -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: ...-v9/web/modules/contrib/drupalchat/src/Controller/drupalchatController.php -------------------------------------------------------------------------------- FOUND 92 ERRORS AND 15 WARNINGS AFFECTING 100 LINES -------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first | | wrong one is Drupal\Core\Controller\ControllerBase. 24 | ERROR | [ ] Class name doesn't match filename; expected "class | | drupalchatController" 97 | ERROR | [ ] Doc comment is empty 100 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_verify_access" is not | | in lowerCamel format 133 | WARNING | [ ] Line exceeds 80 characters; contains 118 characters 154 | ERROR | [ ] Doc comment is empty 157 | ERROR | [ ] Public method name | | "DrupalChatController::_drupalchat_get_sid" is not in | | lowerCamel format 179 | ERROR | [ ] The $_COOKIE super global must not be accessed directly; | | inject the request_stack service and use | | $stack->getCurrentRequest()->cookies->get('drupalchat_c_session') | | instead 196 | ERROR | [ ] Doc comment is empty 199 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_get_random_name" is not | | in lowerCamel format 209 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_send" is not in | | lowerCamel format 214 | ERROR | [ ] The $_POST super global must not be accessed directly; | | inject the request_stack service and use | | $stack->getCurrentRequest()->request->get('form_token') | | instead 215 | ERROR | [ ] The $_POST super global must not be accessed directly; | | inject the request_stack service and use | | $stack->getCurrentRequest()->request->get('form_id') | | instead 223 | ERROR | [x] The first index in a multi-value array must be on a new | | line 223 | ERROR | [ ] The $_POST super global must not be accessed directly; | | inject the request_stack service and use | | $stack->getCurrentRequest()->request->get('drupalchat_message_id') | | instead 223 | ERROR | [x] Each index in a multi-line array must be on a new line 224 | ERROR | [x] Array indentation error, expected 8 spaces but found 6 224 | ERROR | [x] Each index in a multi-line array must be on a new line 224 | ERROR | [ ] The $_POST super global must not be accessed directly; | | inject the request_stack service and use | | $stack->getCurrentRequest()->request->get('drupalchat_uid2') | | instead 224 | ERROR | [x] Closing parenthesis of array declaration must be on a new | | line 225 | ERROR | [ ] The $_POST super global must not be accessed directly; | | inject the request_stack service and use | | $stack->getCurrentRequest()->request->get('drupalchat_message') | | instead 238 | ERROR | [ ] Doc comment short description must start with a capital | | letter 239 | ERROR | [ ] Doc comment short description must end with a full stop 239 | ERROR | [ ] Doc comment short description must be on a single line, | | further text should be a separate paragraph 241 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_poll" is not in | | lowerCamel format 251 | ERROR | [ ] The $_GET super global must not be accessed directly; | | inject the request_stack service and use | | $stack->getCurrentRequest()->query->get('drupalchat_last_timestamp') | | instead 252 | ERROR | [ ] The $_GET super global must not be accessed directly; | | inject the request_stack service and use | | $stack->getCurrentRequest()->query->get('drupalchat_last_timestamp') | | instead 280 | ERROR | [ ] The array declaration extends to column 124 (the limit is | | 120). The array content should be split up over multiple | | lines 286 | ERROR | [ ] The array declaration extends to column 141 (the limit is | | 120). The array content should be split up over multiple | | lines 295 | ERROR | [ ] The array declaration extends to column 279 (the limit is | | 120). The array content should be split up over multiple | | lines 298 | ERROR | [ ] The array declaration extends to column 318 (the limit is | | 120). The array content should be split up over multiple | | lines 307 | ERROR | [ ] The array declaration extends to column 275 (the limit is | | 120). The array content should be split up over multiple | | lines 316 | ERROR | [ ] The array declaration extends to column 135 (the limit is | | 120). The array content should be split up over multiple | | lines 317 | ERROR | [ ] The array declaration extends to column 240 (the limit is | | 120). The array content should be split up over multiple | | lines 327 | ERROR | [ ] The array declaration extends to column 275 (the limit is | | 120). The array content should be split up over multiple | | lines 336 | ERROR | [ ] The array declaration extends to column 135 (the limit is | | 120). The array content should be split up over multiple | | lines 337 | ERROR | [ ] The array declaration extends to column 240 (the limit is | | 120). The array content should be split up over multiple | | lines 361 | ERROR | [ ] Doc comment is empty 364 | ERROR | [ ] Private method name | | "DrupalChatController::_drupalchat_touch_user" is not in | | lowerCamel format 374 | ERROR | [ ] Doc comment is empty 377 | ERROR | [ ] Private method name | | "DrupalChatController::_drupalchat_buddylist_diff" is not | | in lowerCamel format 394 | ERROR | [ ] Doc comment is empty 397 | ERROR | [ ] Public method name | | "DrupalChatController::_drupalchat_buddylist" is not in | | lowerCamel format 402 | ERROR | [ ] The array declaration extends to column 172 (the limit is | | 120). The array content should be split up over multiple | | lines 403 | WARNING | [ ] Unused variable $rid. 408 | ERROR | [ ] The array declaration extends to column 133 (the limit is | | 120). The array content should be split up over multiple | | lines 417 | ERROR | [ ] Doc comment is empty 420 | ERROR | [ ] Public method name | | "DrupalChatController::_drupalchat_get_buddylist" is not | | in lowerCamel format 433 | WARNING | [ ] Unused variable $rid. 442 | ERROR | [ ] The array declaration extends to column 133 (the limit is | | 120). The array content should be split up over multiple | | lines 450 | ERROR | [ ] Doc comment is empty 453 | ERROR | [ ] Public method name | | "DrupalChatController::_drupalchat_buddylist_online" is | | not in lowerCamel format 526 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_get_messages" is not in | | lowerCamel format 545 | ERROR | [ ] Comment indentation error, expected only 1 spaces 548 | ERROR | [ ] Comment indentation error, expected only 1 spaces 557 | ERROR | [ ] Doc comment is empty 589 | WARNING | [ ] Line exceeds 80 characters; contains 124 characters 628 | WARNING | [ ] Unused variable $record. 630 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 631 | WARNING | [ ] Line exceeds 80 characters; contains 421 characters 642 | ERROR | [ ] Doc comment is empty 645 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_get_messages_specific" | | is not in lowerCamel format 656 | WARNING | [ ] Redeclaration of variable $user as global variable. 696 | WARNING | [ ] Line exceeds 80 characters; contains 125 characters 727 | ERROR | [ ] Doc comment is empty 730 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_get_thread_history" is | | not in lowerCamel format 733 | ERROR | [ ] The $_POST super global must not be accessed directly; | | inject the request_stack service and use | | $stack->getCurrentRequest()->request->get('drupalchat_open_chat_uids') | | instead 734 | ERROR | [ ] The $_POST super global must not be accessed directly; | | inject the request_stack service and use | | $stack->getCurrentRequest()->request->get('drupalchat_open_chat_uids') | | instead 748 | ERROR | [ ] The array declaration extends to column 222 (the limit is | | 120). The array content should be split up over multiple | | lines 751 | ERROR | [ ] The array declaration extends to column 280 (the limit is | | 120). The array content should be split up over multiple | | lines 759 | ERROR | [ ] The array declaration extends to column 277 (the limit is | | 120). The array content should be split up over multiple | | lines 769 | ERROR | [ ] The array declaration extends to column 137 (the limit is | | 120). The array content should be split up over multiple | | lines 770 | ERROR | [ ] The array declaration extends to column 242 (the limit is | | 120). The array content should be split up over multiple | | lines 781 | ERROR | [ ] The array declaration extends to column 277 (the limit is | | 120). The array content should be split up over multiple | | lines 792 | ERROR | [ ] The array declaration extends to column 137 (the limit is | | 120). The array content should be split up over multiple | | lines 793 | ERROR | [ ] The array declaration extends to column 242 (the limit is | | 120). The array content should be split up over multiple | | lines 809 | ERROR | [ ] Doc comment is empty 812 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_return_pic_url" is not | | in lowerCamel format 814 | WARNING | [ ] Unused variable $user. 825 | ERROR | [ ] Doc comment is empty 828 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_return_pic_url_any_user" | | is not in lowerCamel format 831 | WARNING | [ ] Unused variable $user_picture. 878 | ERROR | [ ] Doc comment is empty 881 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_return_profile_url" is | | not in lowerCamel format 890 | ERROR | [ ] Doc comment is empty 893 | ERROR | [ ] Private method name | | "DrupalChatController::_drupalchat_get_friends" is not in | | lowerCamel format 904 | ERROR | [ ] Private method name | | "DrupalChatController::_drupalchat_get_groups" is not in | | lowerCamel format 920 | ERROR | [ ] Doc comment is empty 923 | ERROR | [ ] Public method name | | "DrupalChatController::_drupalchat_get_user_details" is | | not in lowerCamel format 949 | ERROR | [ ] Comment indentation error, expected only 1 spaces 952 | ERROR | [ ] Comment indentation error, expected only 1 spaces 956 | ERROR | [ ] Comment indentation error, expected only 3 spaces 972 | ERROR | [ ] sizeof() is a function name alias, use count() instead 1055 | ERROR | [ ] Doc comment is empty 1058 | ERROR | [ ] Public method name | | "DrupalChatController::_drupalchat_get_auth" is not in | | lowerCamel format 1131 | ERROR | [ ] Doc comment is empty 1134 | ERROR | [ ] Public method name "DrupalChatController::ex_auth" is not | | in lowerCamel format 1138 | WARNING | [ ] Unused variable $user_name. 1149 | ERROR | [ ] Public method name | | "DrupalChatController::drupalchat_app_settings" is not in | | lowerCamel format 1152 | WARNING | [ ] Unused variable $user_name. 1169 | WARNING | [ ] Line exceeds 80 characters; contains 127 characters 1169 | ERROR | [ ] Comment indentation error, expected only 1 spaces 1183 | ERROR | [ ] Doc comment is empty 1186 | ERROR | [ ] Public method name | | "DrupalChatController::_drupalchat_chat" is not in | | lowerCamel format 1202 | ERROR | [ ] The array declaration extends to column 163 (the limit is | | 120). The array content should be split up over multiple | | lines 1229 | WARNING | [ ] Line exceeds 80 characters; contains 96 characters 1253 | ERROR | [ ] Public method name | | "DrupalChatController::_drupalchat_ur_autocomplete" is | | not in lowerCamel format -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- Time: 1.21 secs; Memory: 20MB
Kindly check
Thanks,
Jake- Merge request !2Created a new merge request to get the list of all the PHP_CodeSniffer errors/warnings → (Open) created by apaderno
- 🇮🇹Italy apaderno Brescia, 🇮🇹
GitLab CI still reports PHP_CodeSniffer errors/warnings.
Keep in mind that changing the name of public methods is not backward compatible. That needs to be done in a new branch, not in this branch.
- 🇮🇹Italy apaderno Brescia, 🇮🇹
avpaderno → changed the visibility of the branch 3323914-gitlab-ci-reports to hidden.