FILE: ...coh/files/sites/default/modules/fivestar/assets/css/fivestar.css ---------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 5 LINES ---------------------------------------------------------------------- 69 | ERROR | [x] Multiple selectors should each be on a single line 76 | ERROR | [x] Multiple selectors should each be on a single line 81 | ERROR | [x] Multiple selectors should each be on a single line 86 | ERROR | [x] Multiple selectors should each be on a single line 97 | ERROR | [x] Multiple selectors should each be on a single line ---------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...les/sites/default/modules/fivestar/assets/css/fivestar-admin.css ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 32 | ERROR | [x] Multiple selectors should each be on a single line ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...files/sites/default/modules/fivestar/assets/css/fivestar-rtl.css ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 50 | ERROR | [x] Multiple selectors should each be on a single line ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...ormens/dcoh/files/sites/default/modules/fivestar/fivestar.module ---------------------------------------------------------------------- FOUND 165 ERRORS AND 18 WARNINGS AFFECTING 152 LINES ---------------------------------------------------------------------- 12 | WARNING | [x] Unused use statement 13 | WARNING | [x] Unused use statement 13 | ERROR | [x] There must be one blank line after the last USE | | statement; 2 found; 17 | 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." 19 | ERROR | [x] Expected 1 blank line before function; 2 found 21 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | | found 6 31 | ERROR | [x] Case breaking statement indented incorrectly; | | expected 8 spaces, found 6 39 | ERROR | [x] Short array syntax must be used to define arrays 41 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 42 | ERROR | [x] Short array syntax must be used to define arrays 43 | ERROR | [x] Short array syntax must be used to define arrays 45 | ERROR | [x] Short array syntax must be used to define arrays 46 | ERROR | [x] Short array syntax must be used to define arrays 47 | ERROR | [x] Short array syntax must be used to define arrays 49 | ERROR | [x] Short array syntax must be used to define arrays 50 | ERROR | [x] Short array syntax must be used to define arrays 58 | 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." 61 | ERROR | [x] Short array syntax must be used to define arrays 63 | ERROR | [x] Short array syntax must be used to define arrays 68 | ERROR | [x] Short array syntax must be used to define arrays 73 | ERROR | [x] Short array syntax must be used to define arrays 75 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 75 | ERROR | [x] Short array syntax must be used to define arrays 75 | ERROR | [x] Short array syntax must be used to define arrays 78 | ERROR | [x] Short array syntax must be used to define arrays 80 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 80 | ERROR | [x] Short array syntax must be used to define arrays 83 | ERROR | [x] Short array syntax must be used to define arrays 85 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 85 | ERROR | [x] Short array syntax must be used to define arrays 85 | ERROR | [x] Short array syntax must be used to define arrays 89 | ERROR | [x] Short array syntax must be used to define arrays 91 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 91 | ERROR | [x] Short array syntax must be used to define arrays 94 | 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 101 | ERROR | [x] Short array syntax must be used to define arrays 104 | ERROR | [x] Line indented incorrectly; expected at least 2 | | spaces, found 0 104 | ERROR | [x] 4 spaces found before inline comment; expected | | "// 'fivestar_settings_form' => array(" but | | found "// 'fivestar_settings_form' => array(" 105 | ERROR | [x] Line indented incorrectly; expected at least 2 | | spaces, found 0 105 | ERROR | [ ] Comment indentation error, expected only 4 | | spaces 106 | ERROR | [x] Line indented incorrectly; expected at least 2 | | spaces, found 0 107 | ERROR | [x] Line indented incorrectly; expected at least 2 | | spaces, found 0 108 | ERROR | [x] Line indented incorrectly; expected at least 2 | | spaces, found 0 109 | ERROR | [x] Line indented incorrectly; expected at least 2 | | spaces, found 0 110 | ERROR | [x] Line indented incorrectly; expected at least 2 | | spaces, found 0 110 | ERROR | [ ] Comment indentation error, expected only 4 | | spaces 111 | ERROR | [x] Line indented incorrectly; expected at least 2 | | spaces, found 0 112 | ERROR | [x] Line indented incorrectly; expected at least 2 | | spaces, found 0 113 | ERROR | [x] Line indented incorrectly; expected at least 2 | | spaces, found 0 113 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 114 | ERROR | [x] Short array syntax must be used to define arrays 119 | ERROR | [x] Short array syntax must be used to define arrays 124 | ERROR | [x] Short array syntax must be used to define arrays 129 | ERROR | [x] Short array syntax must be used to define arrays 137 | ERROR | [x] Missing function doc comment 138 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 138 | ERROR | [x] Short array syntax must be used to define arrays 143 | ERROR | [ ] Doc comment short description must be on a | | single line, further text should be a separate | | paragraph 151 | ERROR | [x] Short array syntax must be used to define arrays 160 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 160 | ERROR | [x] Short array syntax must be used to define arrays 161 | WARNING | [x] There must be no blank line following an inline | | comment 164 | ERROR | [x] Short array syntax must be used to define arrays 177 | ERROR | [x] Short array syntax must be used to define arrays 181 | WARNING | [ ] Line exceeds 80 characters; contains 91 | | characters 194 | ERROR | [ ] Missing parameter type 196 | ERROR | [ ] Missing parameter type 198 | ERROR | [ ] Missing parameter type 200 | ERROR | [ ] Missing parameter type 202 | ERROR | [x] Separate the @param and @return sections by a | | blank line. 202 | ERROR | [ ] Return type missing for @return tag in function | | comment 215 | ERROR | [x] Short array syntax must be used to define arrays 222 | ERROR | [x] Short array syntax must be used to define arrays 225 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 226 | ERROR | [x] Short array syntax must be used to define arrays 227 | ERROR | [x] Short array syntax must be used to define arrays 228 | ERROR | [x] Short array syntax must be used to define arrays 229 | ERROR | [x] Short array syntax must be used to define arrays 234 | ERROR | [x] Short array syntax must be used to define arrays 235 | ERROR | [x] Expected 1 space after IF keyword; 0 found 236 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 236 | ERROR | [x] Short array syntax must be used to define arrays 248 | ERROR | [x] Spaces must be used to indent lines; tabs are | | not allowed 248 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | | found 3 249 | ERROR | [x] Spaces must be used to indent lines; tabs are | | not allowed 249 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | | found 5 252 | ERROR | [x] Spaces must be used to indent lines; tabs are | | not allowed 252 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | | found 5 253 | ERROR | [x] Spaces must be used to indent lines; tabs are | | not allowed 253 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | | found 3 254 | ERROR | [x] Spaces must be used to indent lines; tabs are | | not allowed 254 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | | found 3 255 | ERROR | [x] Spaces must be used to indent lines; tabs are | | not allowed 255 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | | found 5 256 | ERROR | [x] Spaces must be used to indent lines; tabs are | | not allowed 256 | WARNING | [ ] Line exceeds 80 characters; contains 86 | | characters 256 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | | found 5 257 | ERROR | [x] Spaces must be used to indent lines; tabs are | | not allowed 257 | ERROR | [x] Line indented incorrectly; expected 6 spaces, | | found 5 258 | ERROR | [x] Short array syntax must be used to define arrays 259 | ERROR | [x] Spaces must be used to indent lines; tabs are | | not allowed 259 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | | found 3 265 | ERROR | [x] Missing function doc comment 266 | ERROR | [x] Short array syntax must be used to define arrays 273 | ERROR | [ ] Missing parameter type 275 | ERROR | [ ] Missing parameter type 277 | ERROR | [ ] Missing parameter type 279 | ERROR | [ ] Missing parameter type 282 | ERROR | [x] Expected "bool" but found "boolean" for function | | return type 282 | ERROR | [ ] Description for the @return value is missing 301 | 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." 307 | ERROR | [ ] Missing parameter type 309 | ERROR | [ ] Missing parameter type 311 | ERROR | [ ] Missing parameter type 313 | ERROR | [ ] Missing parameter type 316 | ERROR | [ ] Return type "boolean or NULL" must not contain | | spaces 325 | ERROR | [x] Short array syntax must be used to define arrays 328 | ERROR | [x] Short array syntax must be used to define arrays 341 | 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." 350 | ERROR | [x] Short array syntax must be used to define arrays 352 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 383 | 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." 422 | ERROR | [ ] Missing parameter type 424 | ERROR | [ ] Missing parameter type 430 | ERROR | [ ] Missing parameter type 447 | ERROR | [x] Short array syntax must be used to define arrays 448 | ERROR | [x] Short array syntax must be used to define arrays 449 | ERROR | [x] Short array syntax must be used to define arrays 449 | WARNING | [x] A comma should follow the last multiline array | | item. Found: ) 456 | ERROR | [x] Short array syntax must be used to define arrays 464 | ERROR | [x] Short array syntax must be used to define arrays 470 | ERROR | [x] Short array syntax must be used to define arrays 473 | ERROR | [x] Short array syntax must be used to define arrays 473 | ERROR | [x] Short array syntax must be used to define arrays 497 | ERROR | [x] Doc comment short description must end with a | | full stop 501 | ERROR | [x] Short array syntax must be used to define arrays 507 | ERROR | [x] Short array syntax must be used to define arrays 514 | WARNING | [ ] Line exceeds 80 characters; contains 90 | | characters 520 | ERROR | [x] Short array syntax must be used to define arrays 522 | ERROR | [x] Short array syntax must be used to define arrays 523 | ERROR | [x] Short array syntax must be used to define arrays 529 | ERROR | [x] Expected 1 blank line after function; 2 found 537 | ERROR | [x] Short array syntax must be used to define arrays 542 | 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." 547 | ERROR | [x] Short array syntax must be used to define arrays 548 | WARNING | [ ] Only string literals should be passed to t() | | where possible 549 | ERROR | [x] Short array syntax must be used to define arrays 555 | ERROR | [x] Missing function doc comment 559 | ERROR | [x] Short array syntax must be used to define arrays 575 | ERROR | [x] Expected 1 blank line after function; 2 found 584 | ERROR | [x] Short array syntax must be used to define arrays 585 | ERROR | [x] Short array syntax must be used to define arrays 592 | ERROR | [x] Short array syntax must be used to define arrays 594 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 594 | ERROR | [x] Short array syntax must be used to define arrays 597 | ERROR | [x] Short array syntax must be used to define arrays 598 | ERROR | [x] Short array syntax must be used to define arrays 599 | WARNING | [x] A comma should follow the last multiline array | | item. Found: '_fivestar_target_node_reference' 608 | ERROR | [x] Short array syntax must be used to define arrays 610 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 610 | ERROR | [x] Short array syntax must be used to define arrays 613 | ERROR | [x] Short array syntax must be used to define arrays 614 | ERROR | [x] Short array syntax must be used to define arrays 615 | WARNING | [x] A comma should follow the last multiline array | | item. Found: '_fivestar_target_entityreference' 624 | ERROR | [x] Short array syntax must be used to define arrays 626 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 626 | ERROR | [x] Short array syntax must be used to define arrays 629 | ERROR | [x] Short array syntax must be used to define arrays 630 | ERROR | [x] Short array syntax must be used to define arrays 631 | WARNING | [x] A comma should follow the last multiline array | | item. Found: '_fivestar_target_user_reference' 640 | ERROR | [x] Short array syntax must be used to define arrays 642 | WARNING | [x] A comma should follow the last multiline array | | item. Found: | | '_fivestar_target_comment_parent_node' 649 | ERROR | [ ] Missing short description in doc comment 655 | ERROR | [x] Short array syntax must be used to define arrays 666 | ERROR | [ ] Missing short description in doc comment 667 | ERROR | [ ] Description for the @return value must be on the | | next line 670 | ERROR | [x] Short array syntax must be used to define arrays 685 | ERROR | [ ] Missing short description in doc comment 691 | ERROR | [x] Short array syntax must be used to define arrays 702 | ERROR | [x] Missing function doc comment 703 | ERROR | [x] Short array syntax must be used to define arrays ---------------------------------------------------------------------- PHPCBF CAN FIX THE 139 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...files/sites/default/modules/fivestar/includes/fivestar.theme.inc ---------------------------------------------------------------------- FOUND 53 ERRORS AND 14 WARNINGS AFFECTING 61 LINES ---------------------------------------------------------------------- 5 | ERROR | [x] Doc comment short description must end with a | | full stop 12 | ERROR | [x] Short array syntax must be used to define arrays 13 | ERROR | [x] Short array syntax must be used to define arrays 16 | ERROR | [x] Short array syntax must be used to define arrays 17 | ERROR | [x] Short array syntax must be used to define arrays 19 | ERROR | [x] Short array syntax must be used to define arrays 23 | ERROR | [x] Namespaced classes/interfaces/traits should be | | referenced with use statements 28 | ERROR | [x] Short array syntax must be used to define arrays 35 | ERROR | [x] Short array syntax must be used to define arrays 41 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 42 | ERROR | [x] Short array syntax must be used to define arrays 43 | WARNING | [ ] Do not concatenate strings to translatable | | strings, they should be part of the t() argument | | and you should use placeholders 44 | WARNING | [ ] Do not concatenate strings to translatable | | strings, they should be part of the t() argument | | and you should use placeholders 50 | ERROR | [x] Short array syntax must be used to define arrays 51 | ERROR | [x] Short array syntax must be used to define arrays 52 | ERROR | [x] Short array syntax must be used to define arrays 54 | WARNING | [x] A comma should follow the last multiline array | | item. Found: $settings 55 | WARNING | [x] A comma should follow the last multiline array | | item. Found: ) 56 | WARNING | [x] A comma should follow the last multiline array | | item. Found: ) 67 | ERROR | [x] Missing function doc comment 69 | ERROR | [x] Short array syntax must be used to define arrays 74 | ERROR | [x] Short array syntax must be used to define arrays 91 | ERROR | [x] Short array syntax must be used to define arrays 91 | ERROR | [x] Short array syntax must be used to define arrays 93 | WARNING | [x] A comma should follow the last multiline array | | item. Found: '' 99 | ERROR | [x] Missing function doc comment 117 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 122 | ERROR | [x] Short array syntax must be used to define arrays 128 | ERROR | [x] Short array syntax must be used to define arrays 131 | WARNING | [x] A comma should follow the last multiline array | | item. Found: FALSE 173 | ERROR | [x] Short array syntax must be used to define arrays 178 | ERROR | [ ] Doc comment short description must be on a | | single line, further text should be a separate | | paragraph 184 | WARNING | [ ] Code after RETURN statement cannot be executed 184 | ERROR | [x] Namespaced classes/interfaces/traits should be | | referenced with use statements 185 | WARNING | [ ] Code after RETURN statement cannot be executed 185 | ERROR | [x] Namespaced classes/interfaces/traits should be | | referenced with use statements 185 | ERROR | [x] Short array syntax must be used to define arrays 186 | WARNING | [ ] Code after RETURN statement cannot be executed 187 | WARNING | [ ] Code after RETURN statement cannot be executed 188 | WARNING | [ ] Code after RETURN statement cannot be executed 194 | ERROR | [ ] Missing parameter type 196 | ERROR | [ ] Missing parameter type 198 | ERROR | [ ] Missing parameter type 200 | ERROR | [x] Separate the @param and @return sections by a | | blank line. 200 | ERROR | [ ] Return type missing for @return tag in function | | comment 256 | ERROR | [ ] Missing parameter type 258 | ERROR | [ ] Missing parameter type 260 | ERROR | [ ] Missing parameter type 262 | ERROR | [ ] Missing parameter type 264 | ERROR | [x] Separate the @param and @return sections by a | | blank line. 264 | ERROR | [ ] Return type missing for @return tag in function | | comment 277 | ERROR | [x] Short array syntax must be used to define arrays 295 | ERROR | [x] Short array syntax must be used to define arrays 309 | WARNING | [ ] Line exceeds 80 characters; contains 82 | | characters 311 | ERROR | [x] Short array syntax must be used to define arrays 312 | WARNING | [x] A comma should follow the last multiline array | | item. Found: '' 322 | ERROR | [x] Functions must not contain multiple empty lines | | in a row; found 2 empty lines 339 | ERROR | [x] Short array syntax must be used to define arrays 346 | ERROR | [x] Short array syntax must be used to define arrays 349 | ERROR | [x] Expected 1 blank line after function; 2 found 356 | ERROR | [x] Short array syntax must be used to define arrays 357 | ERROR | [x] Short array syntax must be used to define arrays 360 | ERROR | [x] Short array syntax must be used to define arrays 361 | ERROR | [x] Short array syntax must be used to define arrays 363 | ERROR | [x] Short array syntax must be used to define arrays 367 | ERROR | [x] Namespaced classes/interfaces/traits should be | | referenced with use statements 391 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 49 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...les/sites/default/modules/fivestar/includes/fivestar.migrate.inc ---------------------------------------------------------------------- FOUND 12 ERRORS AFFECTING 12 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line 11 | ERROR | [x] Short array syntax must be used to define arrays 13 | ERROR | [x] Short array syntax must be used to define arrays 23 | ERROR | [x] Missing function doc comment 24 | ERROR | [x] Short array syntax must be used to define arrays 27 | ERROR | [x] Missing function doc comment 28 | ERROR | [x] Short array syntax must be used to define arrays 34 | ERROR | [x] Missing function doc comment 35 | ERROR | [x] Short array syntax must be used to define arrays 44 | ERROR | [x] Short array syntax must be used to define arrays 48 | ERROR | [x] Expected 1 blank line after function; 0 found 49 | ERROR | [x] The closing brace for the class must have an empty | | line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...files/sites/default/modules/fivestar/includes/fivestar.field.inc ---------------------------------------------------------------------- FOUND 120 ERRORS AND 32 WARNINGS AFFECTING 139 LINES ---------------------------------------------------------------------- 5 | ERROR | [x] Doc comment short description must end with a | | full stop 9 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.", or "* Implements | | hook_foo_BAR_ID_bar() for block templates." 12 | ERROR | [x] Short array syntax must be used to define arrays 13 | ERROR | [x] Short array syntax must be used to define arrays 18 | ERROR | [x] Short array syntax must be used to define arrays 21 | ERROR | [x] Short array syntax must be used to define arrays 25 | ERROR | [x] Short array syntax must be used to define arrays 29 | ERROR | [x] Expected 1 blank line after function; 2 found 33 | 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." 40 | 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." 47 | 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." 53 | ERROR | [x] Missing function doc comment 72 | WARNING | [ ] Line exceeds 80 characters; contains 89 | | characters 73 | WARNING | [ ] Line exceeds 80 characters; contains 88 | | characters 75 | WARNING | [ ] Line exceeds 80 characters; contains 90 | | characters 76 | WARNING | [ ] Line exceeds 80 characters; contains 91 | | characters 77 | WARNING | [ ] Line exceeds 80 characters; contains 91 | | characters 78 | WARNING | [ ] Line exceeds 80 characters; contains 87 | | characters 79 | WARNING | [ ] Line exceeds 80 characters; contains 82 | | characters 85 | ERROR | [x] Expected 1 blank line after function; 2 found 99 | 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." 106 | 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." 109 | ERROR | [x] Short array syntax must be used to define arrays 110 | ERROR | [x] Short array syntax must be used to define arrays 112 | ERROR | [x] Short array syntax must be used to define arrays 113 | ERROR | [x] Short array syntax must be used to define arrays 115 | ERROR | [x] Short array syntax must be used to define arrays 117 | ERROR | [x] Short array syntax must be used to define arrays 118 | ERROR | [x] Short array syntax must be used to define arrays 119 | ERROR | [x] Short array syntax must be used to define arrays 120 | ERROR | [x] Short array syntax must be used to define arrays 122 | WARNING | [x] A comma should follow the last multiline array | | item. Found: ) 123 | WARNING | [x] A comma should follow the last multiline array | | item. Found: ) 125 | ERROR | [x] Short array syntax must be used to define arrays 127 | ERROR | [x] Short array syntax must be used to define arrays 128 | ERROR | [x] Short array syntax must be used to define arrays 134 | 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." 137 | ERROR | [x] Short array syntax must be used to define arrays 139 | ERROR | [x] Short array syntax must be used to define arrays 151 | ERROR | [x] Short array syntax must be used to define arrays 153 | ERROR | [x] Short array syntax must be used to define arrays 155 | ERROR | [x] Short array syntax must be used to define arrays 155 | ERROR | [x] Short array syntax must be used to define arrays 156 | ERROR | [x] Short array syntax must be used to define arrays 157 | ERROR | [x] Short array syntax must be used to define arrays 157 | ERROR | [x] Short array syntax must be used to define arrays 164 | ERROR | [x] Missing function doc comment 165 | ERROR | [x] Namespaced classes/interfaces/traits should be | | referenced with use statements 166 | ERROR | [x] Short array syntax must be used to define arrays 177 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.", or "* Implements | | hook_foo_BAR_ID_bar() for block templates." 183 | ERROR | [x] Short array syntax must be used to define arrays 191 | ERROR | [x] Short array syntax must be used to define arrays 193 | WARNING | [ ] Only string literals should be passed to t() | | where possible 196 | WARNING | [ ] Only string literals should be passed to t() | | where possible 204 | ERROR | [x] Short array syntax must be used to define arrays 209 | ERROR | [x] Short array syntax must be used to define arrays 215 | ERROR | [x] Short array syntax must be used to define arrays 225 | ERROR | [x] Short array syntax must be used to define arrays 226 | ERROR | [x] Expected 1 space before "=>"; 0 found 227 | WARNING | [ ] Only string literals should be passed to t() | | where possible 236 | WARNING | [ ] Only string literals should be passed to t() | | where possible 241 | ERROR | [x] Short array syntax must be used to define arrays 245 | 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." 248 | ERROR | [x] Short array syntax must be used to define arrays 249 | ERROR | [x] Short array syntax must be used to define arrays 251 | ERROR | [x] Short array syntax must be used to define arrays 252 | ERROR | [x] Expected 1 space after "=>"; 2 found 252 | ERROR | [x] Short array syntax must be used to define arrays 258 | ERROR | [x] Short array syntax must be used to define arrays 264 | ERROR | [x] Short array syntax must be used to define arrays 266 | ERROR | [x] Short array syntax must be used to define arrays 268 | ERROR | [x] Short array syntax must be used to define arrays 270 | ERROR | [x] Short array syntax must be used to define arrays 286 | ERROR | [x] Short array syntax must be used to define arrays 298 | ERROR | [x] Short array syntax must be used to define arrays 300 | ERROR | [x] Short array syntax must be used to define arrays 302 | ERROR | [x] Short array syntax must be used to define arrays 302 | ERROR | [x] Short array syntax must be used to define arrays 303 | ERROR | [x] Short array syntax must be used to define arrays 304 | ERROR | [x] Short array syntax must be used to define arrays 304 | ERROR | [x] Short array syntax must be used to define arrays 308 | ERROR | [x] Short array syntax must be used to define arrays 312 | WARNING | [x] A comma should follow the last multiline array | | item. Found: 1 316 | ERROR | [x] Short array syntax must be used to define arrays 320 | ERROR | [x] Short array syntax must be used to define arrays 327 | ERROR | [x] Short array syntax must be used to define arrays 331 | ERROR | [x] Short array syntax must be used to define arrays 357 | ERROR | [x] Short array syntax must be used to define arrays 361 | ERROR | [x] Closing parenthesis of array declaration must be | | on a new line 365 | ERROR | [x] Short array syntax must be used to define arrays 368 | ERROR | [x] Closing parenthesis of array declaration must be | | on a new line 382 | WARNING | [ ] Hook implementations should not duplicate @param | | documentation 382 | ERROR | [ ] Missing parameter type 383 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 384 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 386 | WARNING | [ ] Hook implementations should not duplicate | | @return documentation 386 | ERROR | [x] Expected "element" but found "$element" for | | function return type 387 | ERROR | [x] Return comment indentation must be 3 spaces, | | found 2 spaces 388 | ERROR | [x] Return comment indentation must be 3 spaces, | | found 2 spaces 391 | ERROR | [x] Short array syntax must be used to define arrays 403 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 415 | ERROR | [x] Short array syntax must be used to define arrays 422 | ERROR | [x] Short array syntax must be used to define arrays 430 | ERROR | [x] Short array syntax must be used to define arrays 432 | ERROR | [x] Short array syntax must be used to define arrays 432 | ERROR | [x] Short array syntax must be used to define arrays 433 | ERROR | [x] Short array syntax must be used to define arrays 439 | ERROR | [x] Short array syntax must be used to define arrays 458 | ERROR | [x] Short array syntax must be used to define arrays 468 | ERROR | [x] Short array syntax must be used to define arrays 486 | ERROR | [x] Short array syntax must be used to define arrays 491 | ERROR | [x] Line indented incorrectly; expected 2 spaces, | | found 1 496 | ERROR | [x] Short array syntax must be used to define arrays 499 | ERROR | [x] Short array syntax must be used to define arrays 540 | ERROR | [x] Expected "settings" but found "$settings" for | | function return type 541 | ERROR | [x] Return comment indentation must be 3 spaces, | | found 2 spaces 545 | ERROR | [x] Short array syntax must be used to define arrays 558 | ERROR | [x] Short array syntax must be used to define arrays 566 | ERROR | [ ] Missing short description in doc comment 567 | ERROR | [ ] Missing parameter type 568 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 569 | WARNING | [ ] Line exceeds 80 characters; contains 87 | | characters 569 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 571 | ERROR | [ ] Missing parameter type 572 | WARNING | [ ] Line exceeds 80 characters; contains 84 | | characters 572 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 574 | ERROR | [ ] Missing parameter type 575 | WARNING | [ ] Line exceeds 80 characters; contains 85 | | characters 575 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 577 | ERROR | [x] Expected "widget" but found "$widget" for | | function return type 578 | WARNING | [ ] Line exceeds 80 characters; contains 94 | | characters 578 | ERROR | [x] Return comment indentation must be 3 spaces, | | found 2 spaces 583 | ERROR | [x] Short array syntax must be used to define arrays 595 | WARNING | [ ] Line exceeds 80 characters; contains 87 | | characters 601 | WARNING | [ ] Line exceeds 80 characters; contains 93 | | characters 601 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 606 | ERROR | [x] Short array syntax must be used to define arrays 619 | ERROR | [x] Short array syntax must be used to define arrays 639 | ERROR | [x] Short array syntax must be used to define arrays 642 | ERROR | [x] Expected 1 space after IF keyword; 0 found 644 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 650 | ERROR | [x] Short array syntax must be used to define arrays 670 | ERROR | [x] Short array syntax must be used to define arrays 671 | ERROR | [x] Short array syntax must be used to define arrays 676 | ERROR | [x] Short array syntax must be used to define arrays 677 | WARNING | [ ] Avoid backslash escaping in translatable strings | | when possible, use "" quotes instead 681 | ERROR | [x] Short array syntax must be used to define arrays 701 | ERROR | [x] Short array syntax must be used to define arrays 702 | ERROR | [x] Short array syntax must be used to define arrays 710 | ERROR | [x] Short array syntax must be used to define arrays 711 | ERROR | [x] Short array syntax must be used to define arrays 716 | ERROR | [x] Short array syntax must be used to define arrays ---------------------------------------------------------------------- PHPCBF CAN FIX THE 118 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...coh/files/sites/default/modules/fivestar/test/fivestar.base.test ---------------------------------------------------------------------- FOUND 27 ERRORS AFFECTING 25 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line 7 | ERROR | [x] Missing class doc comment 10 | ERROR | [x] You must use "/**" style comments for a member | | variable comment 13 | ERROR | [ ] Class property $admin_user should use lowerCamel | | naming without underscores 13 | ERROR | [x] You must use "/**" style comments for a member | | variable comment 14 | ERROR | [x] You must use "/**" style comments for a member | | variable comment 15 | ERROR | [x] Whitespace found at end of line 16 | ERROR | [x] Missing function doc comment 17 | ERROR | [x] Short array syntax must be used to define arrays 19 | ERROR | [x] Short array syntax must be used to define arrays 20 | ERROR | [x] Short array syntax must be used to define arrays 21 | ERROR | [x] Short array syntax must be used to define arrays 22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 22 | ERROR | [x] Closing brace indented incorrectly; expected 2 | | spaces, found 1 27 | ERROR | [ ] Missing parameter type 30 | ERROR | [x] Short array syntax must be used to define arrays 31 | ERROR | [x] Short array syntax must be used to define arrays 34 | ERROR | [x] Short array syntax must be used to define arrays 36 | ERROR | [x] Short array syntax must be used to define arrays 40 | ERROR | [x] Short array syntax must be used to define arrays 44 | ERROR | [x] Short array syntax must be used to define arrays 49 | ERROR | [x] Short array syntax must be used to define arrays 51 | ERROR | [x] Short array syntax must be used to define arrays 52 | ERROR | [x] Short array syntax must be used to define arrays 57 | ERROR | [x] Short array syntax must be used to define arrays 66 | ERROR | [x] Expected 1 blank line after function; 0 found 67 | ERROR | [x] The closing brace for the class must have an empty | | line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 25 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...oh/files/sites/default/modules/fivestar/test/fivestar.field.test ---------------------------------------------------------------------- FOUND 31 ERRORS AND 3 WARNINGS AFFECTING 32 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line 7 | ERROR | [x] Missing class doc comment 9 | ERROR | [x] Missing function doc comment 10 | ERROR | [x] Short array syntax must be used to define arrays 23 | ERROR | [x] Short array syntax must be used to define arrays 29 | ERROR | [x] Short array syntax must be used to define arrays 31 | WARNING | [x] A comma should follow the last multiline array | | item. Found: '40' 31 | ERROR | [x] Comments may not appear after statements 43 | ERROR | [x] Short array syntax must be used to define arrays 45 | ERROR | [x] Short array syntax must be used to define arrays 50 | ERROR | [x] Short array syntax must be used to define arrays 75 | WARNING | [ ] Line exceeds 80 characters; contains 92 | | characters 87 | WARNING | [ ] Line exceeds 80 characters; contains 83 | | characters 88 | ERROR | [ ] Doc comment short description must be on a | | single line, further text should be a separate | | paragraph 92 | ERROR | [x] Short array syntax must be used to define arrays 94 | ERROR | [x] Short array syntax must be used to define arrays 95 | ERROR | [x] Short array syntax must be used to define arrays 97 | ERROR | [x] Short array syntax must be used to define arrays 106 | ERROR | [x] Short array syntax must be used to define arrays 119 | ERROR | [x] Short array syntax must be used to define arrays 121 | ERROR | [x] Short array syntax must be used to define arrays 124 | ERROR | [x] Short array syntax must be used to define arrays 128 | ERROR | [x] Short array syntax must be used to define arrays 128 | ERROR | [x] Short array syntax must be used to define arrays 129 | ERROR | [x] Short array syntax must be used to define arrays 138 | ERROR | [ ] Doc comment short description must be on a | | single line, further text should be a separate | | paragraph 143 | ERROR | [x] Short array syntax must be used to define arrays 145 | ERROR | [x] Short array syntax must be used to define arrays 146 | ERROR | [x] Short array syntax must be used to define arrays 148 | ERROR | [x] Short array syntax must be used to define arrays 158 | ERROR | [x] Short array syntax must be used to define arrays 171 | ERROR | [x] Short array syntax must be used to define arrays 173 | ERROR | [x] Expected 1 blank line after function; 0 found 174 | ERROR | [x] The closing brace for the class must have an | | empty line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 30 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...me/rhormens/dcoh/files/sites/default/modules/fivestar/README.txt ---------------------------------------------------------------------- FOUND 1 ERROR AND 12 WARNINGS AFFECTING 13 LINES ---------------------------------------------------------------------- 11 | WARNING | [ ] Line exceeds 80 characters; contains 103 | | characters 149 | WARNING | [ ] Line exceeds 80 characters; contains 93 | | characters 154 | WARNING | [ ] Line exceeds 80 characters; contains 90 | | characters 155 | WARNING | [ ] Line exceeds 80 characters; contains 89 | | characters 162 | WARNING | [ ] Line exceeds 80 characters; contains 97 | | characters 165 | WARNING | [ ] Line exceeds 80 characters; contains 97 | | characters 166 | WARNING | [ ] Line exceeds 80 characters; contains 99 | | characters 168 | WARNING | [ ] Line exceeds 80 characters; contains 98 | | characters 176 | WARNING | [ ] Line exceeds 80 characters; contains 96 | | characters 177 | WARNING | [ ] Line exceeds 80 characters; contains 98 | | characters 178 | WARNING | [ ] Line exceeds 80 characters; contains 98 | | characters 179 | WARNING | [ ] Line exceeds 80 characters; contains 99 | | characters 191 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...oh/files/sites/default/modules/fivestar/src/Element/Fivestar.php ---------------------------------------------------------------------- FOUND 57 ERRORS AND 2 WARNINGS AFFECTING 49 LINES ---------------------------------------------------------------------- 25 | ERROR | [x] Short array syntax must be used to define arrays 32 | ERROR | [x] Short array syntax must be used to define arrays 32 | ERROR | [x] Short array syntax must be used to define arrays 33 | ERROR | [x] Short array syntax must be used to define arrays 34 | ERROR | [x] Short array syntax must be used to define arrays 38 | ERROR | [x] Short array syntax must be used to define arrays 43 | ERROR | [x] Short array syntax must be used to define arrays 51 | ERROR | [x] Function comment short description must start | | with exactly one space 51 | ERROR | [x] Doc comment short description must end with a | | full stop 54 | ERROR | [x] Expected 1 space after closing parenthesis; | | found 0 58 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 67 | ERROR | [x] Short array syntax must be used to define arrays 70 | ERROR | [x] Expected newline after closing brace 73 | ERROR | [x] Short array syntax must be used to define arrays 75 | ERROR | [x] Expected 1 space before "/"; 0 found 75 | ERROR | [x] Expected 1 space after "/"; 0 found 76 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 76 | ERROR | [x] Short array syntax must be used to define arrays 83 | ERROR | [x] Short array syntax must be used to define arrays 99 | ERROR | [x] Short array syntax must be used to define arrays 108 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 110 | ERROR | [x] Short array syntax must be used to define arrays 119 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 121 | ERROR | [x] Short array syntax must be used to define arrays 130 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 132 | ERROR | [x] Short array syntax must be used to define arrays 141 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 150 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 153 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 156 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 159 | ERROR | [x] Short array syntax must be used to define arrays 167 | ERROR | [x] Short array syntax must be used to define arrays 177 | ERROR | [x] Short array syntax must be used to define arrays 183 | ERROR | [x] Short array syntax must be used to define arrays 195 | ERROR | [x] Short array syntax must be used to define arrays 200 | ERROR | [x] Short array syntax must be used to define arrays 207 | ERROR | [x] Short array syntax must be used to define arrays 215 | ERROR | [x] Short array syntax must be used to define arrays 221 | ERROR | [x] Short array syntax must be used to define arrays 228 | ERROR | [x] Short array syntax must be used to define arrays 231 | ERROR | [x] Expected 1 blank line after function; 2 found 237 | ERROR | [ ] Missing parameter comment 237 | ERROR | [ ] Missing parameter type 239 | ERROR | [ ] Description for the @return value is missing 255 | WARNING | [ ] Line exceeds 80 characters; contains 87 | | characters 255 | WARNING | [x] There must be no blank line following an inline | | comment 271 | ERROR | [x] Short array syntax must be used to define arrays 276 | ERROR | [x] Expected 1 blank line after function; 2 found 282 | ERROR | [ ] Missing parameter type 296 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 299 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 302 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 305 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 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 313 | ERROR | [x] Expected 1 space before "/"; 0 found 313 | ERROR | [x] Expected 1 space after "/"; 0 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 53 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...fivestar/src/Plugin/Field/FieldFormatter/PercentageFormatter.php ---------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 4 LINES ---------------------------------------------------------------------- 3 | ERROR | [x] There must be one blank line after the namespace | | declaration 19 | ERROR | [x] Missing function doc comment 19 | ERROR | [x] Expected 1 blank line before function; 0 found 22 | ERROR | [x] Expected 1 blank line after function; 2 found 25 | ERROR | [x] The closing brace for the class must have an empty | | line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...vestar/src/Plugin/Field/FieldFormatter/FiveStarFormatterBase.php ---------------------------------------------------------------------- FOUND 7 ERRORS AFFECTING 7 LINES ---------------------------------------------------------------------- 6 | ERROR | [x] There must be one blank line after the last USE | | statement; 2 found; 9 | ERROR | [x] Missing class doc comment 11 | ERROR | [ ] Missing short description in doc comment 12 | ERROR | [ ] Missing parameter comment 13 | ERROR | [ ] Description for the @return value is missing 28 | ERROR | [ ] Missing short description in doc comment 29 | ERROR | [ ] Description for the @return value is missing ---------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...ules/fivestar/src/Plugin/Field/FieldFormatter/StarsFormatter.php ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 32 | ERROR | [x] Missing function doc comment ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...les/fivestar/src/Plugin/Field/FieldFormatter/RatingFormatter.php ---------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ---------------------------------------------------------------------- 3 | ERROR | [x] There must be one blank line after the namespace | | declaration 20 | ERROR | [x] Missing function doc comment ---------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...es/fivestar/src/Plugin/Field/FieldWidget/FiveStartWidgetBase.php ---------------------------------------------------------------------- FOUND 4 ERRORS AFFECTING 4 LINES ---------------------------------------------------------------------- 8 | ERROR | [x] Doc comment short description must end with a full | | stop 9 | ERROR | [x] There must be exactly one blank line before the | | tags in a doc comment 13 | ERROR | [ ] Missing short description in doc comment 14 | ERROR | [ ] Description for the @return value is missing ---------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...lt/modules/fivestar/src/Plugin/Field/FieldWidget/StarsWidget.php ---------------------------------------------------------------------- FOUND 9 ERRORS AND 1 WARNING AFFECTING 10 LINES ---------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 26 | ERROR | [x] Expected 1 blank line before function; 0 found 48 | ERROR | [x] Missing function doc comment 67 | ERROR | [x] Short array syntax must be used to define arrays 72 | ERROR | [x] Short array syntax must be used to define arrays 79 | ERROR | [x] Object operator not indented correctly; expected | | 6 spaces but found 8 80 | ERROR | [x] Array indentation error, expected 10 spaces but | | found 8 81 | ERROR | [x] Array indentation error, expected 10 spaces but | | found 8 82 | ERROR | [x] Array closing indentation error, expected 8 | | spaces but found 6 88 | ERROR | [x] Short array syntax must be used to define arrays ---------------------------------------------------------------------- PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...t/modules/fivestar/src/Plugin/Field/FieldWidget/SelectWidget.php ---------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES ---------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 6 | WARNING | [x] Unused use statement 35 | WARNING | [x] A comma should follow the last multiline array | | item. Found: ] ---------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...ult/modules/fivestar/src/Plugin/Field/FieldType/FivestarItem.php ---------------------------------------------------------------------- FOUND 40 ERRORS AND 21 WARNINGS AFFECTING 50 LINES ---------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 29 | ERROR | [ ] Visibility must be declared on property | | "$propertyDefinitions" 35 | ERROR | [x] Short array syntax must be used to define arrays 36 | ERROR | [x] Short array syntax must be used to define arrays 37 | ERROR | [x] Short array syntax must be used to define arrays 41 | WARNING | [x] A comma should follow the last multiline array | | item. Found: TRUE 43 | ERROR | [x] Short array syntax must be used to define arrays 46 | WARNING | [x] A comma should follow the last multiline array | | item. Found: FALSE 62 | ERROR | [ ] Missing short description in doc comment 63 | ERROR | [ ] Description for the @return value is missing 66 | ERROR | [x] Short array syntax must be used to define arrays 76 | ERROR | [x] Missing function doc comment 77 | ERROR | [x] Short array syntax must be used to define arrays 87 | ERROR | [x] Short array syntax must be used to define arrays 104 | ERROR | [x] Short array syntax must be used to define arrays 106 | ERROR | [x] Short array syntax must be used to define arrays 113 | ERROR | [x] Short array syntax must be used to define arrays 120 | ERROR | [x] Short array syntax must be used to define arrays 127 | ERROR | [x] Short array syntax must be used to define arrays 143 | ERROR | [x] Functions must not contain multiple empty lines | | in a row; found 2 empty lines 146 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 147 | ERROR | [x] Short array syntax must be used to define arrays 148 | ERROR | [x] Short array syntax must be used to define arrays 152 | WARNING | [ ] Line exceeds 80 characters; contains 133 | | characters 152 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 156 | WARNING | [ ] Line exceeds 80 characters; contains 88 | | characters 156 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 167 | WARNING | [ ] Code after RETURN statement cannot be executed 168 | WARNING | [ ] Code after RETURN statement cannot be executed 169 | WARNING | [ ] Code after RETURN statement cannot be executed 170 | WARNING | [ ] Code after RETURN statement cannot be executed 177 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | | found 0 177 | ERROR | [x] 4 spaces found before inline comment; expected | | "// $this->fieldOperations();" but found "// | | $this->fieldOperations();" 180 | ERROR | [x] Missing function doc comment 185 | WARNING | [x] There must be no blank line following an inline | | comment 185 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 195 | WARNING | [ ] Line exceeds 80 characters; contains 88 | | characters 195 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 204 | WARNING | [ ] Line exceeds 80 characters; contains 158 | | characters 205 | WARNING | [ ] Line exceeds 80 characters; contains 87 | | characters 205 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 207 | WARNING | [ ] Line exceeds 80 characters; contains 91 | | characters 208 | WARNING | [ ] Line exceeds 80 characters; contains 90 | | characters 210 | WARNING | [ ] Line exceeds 80 characters; contains 92 | | characters 211 | WARNING | [ ] Line exceeds 80 characters; contains 93 | | characters 212 | WARNING | [ ] Line exceeds 80 characters; contains 93 | | characters 213 | WARNING | [ ] Line exceeds 80 characters; contains 89 | | characters 214 | WARNING | [ ] Line exceeds 80 characters; contains 84 | | characters 226 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | | found 0 226 | ERROR | [x] 4 spaces found before inline comment; expected | | "// $this->fieldOperations('delete');" but found | | "// $this->fieldOperations('delete');" 226 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 230 | WARNING | [ ] Line exceeds 80 characters; contains 81 | | characters 232 | ERROR | [x] Visibility must be declared on method | | "_fivestar_field_target" 232 | ERROR | [ ] Method name | | "FivestarItem::_fivestar_field_target" is not in | | lowerCamel format 240 | ERROR | [x] Short array syntax must be used to define arrays 246 | ERROR | [x] Expected 1 blank line after function; 2 found 249 | ERROR | [x] Visibility must be declared on method | | "fivestar_get_targets" 249 | ERROR | [ ] Method name "FivestarItem::fivestar_get_targets" | | is not in lowerCamel format 249 | ERROR | [x] Missing function doc comment 250 | ERROR | [x] Short array syntax must be used to define arrays 252 | ERROR | [x] Short array syntax must be used to define arrays ---------------------------------------------------------------------- PHPCBF CAN FIX THE 39 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...h/files/sites/default/modules/fivestar/widgets/hearts/hearts.css ---------------------------------------------------------------------- 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: ...les/sites/default/modules/fivestar/widgets/lullabot/lullabot.txt ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 31 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...files/sites/default/modules/fivestar/widgets/basic/basic-rtl.css ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 11 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...coh/files/sites/default/modules/fivestar/widgets/basic/basic.css ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 27 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...s/sites/default/modules/fivestar/widgets/outline/outline-rtl.css ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 11 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...files/sites/default/modules/fivestar/widgets/outline/outline.css ---------------------------------------------------------------------- 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: ...files/sites/default/modules/fivestar/widgets/minimal/minimal.css ---------------------------------------------------------------------- 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: ...h/files/sites/default/modules/fivestar/widgets/flames/flames.css ---------------------------------------------------------------------- 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: ...les/sites/default/modules/fivestar/widgets/flames/flames-rtl.css ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 19 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...coh/files/sites/default/modules/fivestar/widgets/small/small.css ---------------------------------------------------------------------- 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: ...h/files/sites/default/modules/fivestar/widgets/drupal/drupal.txt ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 31 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...coh/files/sites/default/modules/fivestar/widgets/craft/craft.css ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 153 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...rmens/dcoh/files/sites/default/modules/fivestar/fivestar.api.php ---------------------------------------------------------------------- FOUND 17 ERRORS AND 13 WARNINGS AFFECTING 30 LINES ---------------------------------------------------------------------- 6 | ERROR | [x] There must be exactly one blank line after the | | file comment 10 | 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." 22 | ERROR | [x] Expected 1 blank line before function; 2 found 24 | ERROR | [x] Short array syntax must be used to define arrays 33 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.", or "* Implements | | hook_foo_BAR_ID_bar() for block templates." 36 | WARNING | [ ] Line exceeds 80 characters; contains 82 | | characters 39 | ERROR | [ ] Missing parameter type 41 | ERROR | [ ] Missing parameter type 43 | ERROR | [ ] Missing parameter type 45 | ERROR | [ ] Missing parameter type 48 | ERROR | [ ] Return type "boolean or NULL" must not contain | | spaces 66 | 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." 68 | ERROR | [ ] Missing parameter type 70 | ERROR | [ ] Missing parameter type 74 | WARNING | [ ] Line exceeds 80 characters; contains 84 | | characters 75 | WARNING | [ ] Line exceeds 80 characters; contains 84 | | characters 76 | WARNING | [ ] Line exceeds 80 characters; contains 84 | | characters 77 | WARNING | [ ] Line exceeds 80 characters; contains 89 | | characters 87 | ERROR | [x] Short array syntax must be used to define arrays 89 | WARNING | [ ] Line exceeds 80 characters; contains 81 | | characters 91 | ERROR | [x] Short array syntax must be used to define arrays 93 | WARNING | [x] A comma should follow the last multiline array | | item. Found: '_example_target_node_author' 105 | ERROR | [ ] Missing parameter type 107 | ERROR | [ ] Missing parameter type 109 | ERROR | [ ] Missing parameter type 111 | ERROR | [ ] Missing parameter type 115 | WARNING | [ ] Line exceeds 80 characters; contains 83 | | characters 116 | WARNING | [ ] Line exceeds 80 characters; contains 82 | | characters 117 | WARNING | [ ] Line exceeds 80 characters; contains 83 | | characters 126 | ERROR | [x] Short array syntax must be used to define arrays ---------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- Time: 1.79 secs; Memory: 21Mb