- Issue created by @VladimirAus
- First commit to issue fork.
- Status changed to Needs review
7 months ago 12:28pm 4 June 2024 - Status changed to Needs work
7 months ago 2:05pm 4 June 2024 - Status changed to Needs review
6 months ago 9:21am 3 July 2024 - Status changed to Needs work
5 months ago 11:03am 5 August 2024 - 🇮🇳India sourav_paul Kolkata
GitLab CI job has been added successfully, but the job is failing due to phpcs issue...
Could you please resolve it?
FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/tests/wysiwyg.test ------------------------------------------------------------------------------------------------------------------------------- FOUND 14 ERRORS AND 1 WARNING AFFECTING 15 LINES ------------------------------------------------------------------------------------------------------------------------------- 11 | WARNING | [ ] Class name must be prefixed with the project name "WysiwygTest" 15 | ERROR | [ ] Missing @var tag in member variable comment 20 | ERROR | [ ] Missing @var tag in member variable comment 25 | ERROR | [ ] Missing @var tag in member variable comment 30 | ERROR | [ ] Missing @var tag in member variable comment 35 | ERROR | [ ] Missing @var tag in member variable comment 40 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 41 | ERROR | [ ] Missing @var tag in member variable comment 46 | ERROR | [ ] Missing @var tag in member variable comment 68 | ERROR | [ ] Comment indentation error, expected only 1 spaces 381 | ERROR | [ ] Comment indentation error, expected only 1 spaces 382 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 429 | ERROR | [ ] Missing parameter type 431 | ERROR | [ ] Missing parameter type 433 | ERROR | [ ] Missing parameter type ------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/includes/styling.inc ------------------------------------------------------------------------------------ FOUND 3 ERRORS AFFECTING 3 LINES ------------------------------------------------------------------------------------ 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 120 | ERROR | [x] Case breaking statements must be followed by a single blank line 125 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 ------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------ FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/wysiwyg.features.inc ------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------ 1 | ERROR | [x] Missing file doc comment ------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------ FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/wysiwyg.admin.inc -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 15 ERRORS AND 7 WARNINGS AFFECTING 21 LINES -------------------------------------------------------------------------------------------------------------------------------------------- 49 | ERROR | [ ] The array declaration extends to column 135 (the limit is 120). The array content should be split up over multiple | | lines 100 | ERROR | [ ] The array declaration extends to column 247 (the limit is 120). The array content should be split up over multiple | | lines 144 | ERROR | [ ] The array declaration extends to column 441 (the limit is 120). The array content should be split up over multiple | | lines 144 | ERROR | [x] Concat operator must be surrounded by a single space 340 | WARNING | [ ] Only string literals should be passed to t() where possible 344 | WARNING | [ ] Only string literals should be passed to t() where possible 404 | WARNING | [ ] Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use | | placeholders 433 | WARNING | [ ] Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use | | placeholders 435 | WARNING | [ ] Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use | | placeholders 554 | ERROR | [ ] Missing parameter type 556 | ERROR | [ ] Missing parameter type 573 | WARNING | [ ] Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use | | placeholders 642 | ERROR | [x] Use null coalesce operator instead of ternary operator. 660 | ERROR | [x] Use null coalesce operator instead of ternary operator. 663 | ERROR | [x] Use null coalesce operator instead of ternary operator. 721 | ERROR | [x] Use null coalesce operator instead of ternary operator. 725 | ERROR | [ ] The array declaration extends to column 301 (the limit is 120). The array content should be split up over multiple | | lines 731 | ERROR | [ ] The array declaration extends to column 151 (the limit is 120). The array content should be split up over multiple | | lines 735 | ERROR | [ ] The array declaration extends to column 261 (the limit is 120). The array content should be split up over multiple | | lines 835 | ERROR | [ ] The array declaration extends to column 141 (the limit is 120). The array content should be split up over multiple | | lines 902 | ERROR | [ ] The array declaration extends to column 126 (the limit is 120). The array content should be split up over multiple | | lines 969 | WARNING | [ ] Unused variable $profile. -------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/wysiwyg.module --------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------- 1368 | ERROR | global variables should start with a single underscore followed by the module and another underscore --------------------------------------------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/plugins/break.inc -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES -------------------------------------------------------------------------------------------------------------------------------------------- 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." 20 | ERROR | [x] Expected 1 newline at end of file; 2 found -------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/wysiwyg.dialog.inc ---------------------------------------------------------------------------------- FOUND 4 ERRORS AFFECTING 4 LINES ---------------------------------------------------------------------------------- 102 | ERROR | [ ] Missing short description in doc comment 133 | ERROR | [ ] Missing short description in doc comment 170 | ERROR | [x] Expected 1 blank line after function; 2 found 182 | ERROR | [x] Expected 1 newline at end of file; 2 found ---------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/editors/whizzywig.inc ------------------------------------------------------------------------------------- FOUND 17 ERRORS AND 1 WARNING AFFECTING 15 LINES ------------------------------------------------------------------------------------- 53 | ERROR | [ ] Missing parameter type 56 | ERROR | [ ] Return type missing for @return tag in function comment 87 | ERROR | [ ] Missing parameter type 89 | ERROR | [ ] Missing parameter type 91 | ERROR | [ ] Missing parameter type 94 | ERROR | [ ] Return type missing for @return tag in function comment 145 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters 151 | ERROR | [x] Each index in a multi-line array must be on a new line 151 | ERROR | [x] Each index in a multi-line array must be on a new line 152 | ERROR | [x] Each index in a multi-line array must be on a new line 152 | ERROR | [x] Each index in a multi-line array must be on a new line 153 | ERROR | [x] Each index in a multi-line array must be on a new line 153 | ERROR | [x] Each index in a multi-line array must be on a new line 154 | ERROR | [x] Each index in a multi-line array must be on a new line 155 | ERROR | [x] Each index in a multi-line array must be on a new line 156 | ERROR | [x] Each index in a multi-line array must be on a new line 158 | ERROR | [x] Each index in a multi-line array must be on a new line 170 | ERROR | [x] Expected 1 newline at end of file; 2 found ------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/editors/nicedit.inc ----------------------------------------------------------------------------------- FOUND 18 ERRORS AND 1 WARNING AFFECTING 16 LINES ----------------------------------------------------------------------------------- 41 | ERROR | [ ] Missing parameter type 44 | ERROR | [ ] Return type missing for @return tag in function comment 67 | ERROR | [ ] Missing parameter type 69 | ERROR | [ ] Missing parameter type 71 | ERROR | [ ] Missing parameter type 74 | ERROR | [ ] Return type missing for @return tag in function comment 115 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters 121 | ERROR | [x] Each index in a multi-line array must be on a new line 121 | ERROR | [x] Each index in a multi-line array must be on a new line 123 | ERROR | [x] Each index in a multi-line array must be on a new line 123 | ERROR | [x] Each index in a multi-line array must be on a new line 124 | ERROR | [x] Each index in a multi-line array must be on a new line 125 | ERROR | [x] Each index in a multi-line array must be on a new line 127 | ERROR | [x] Each index in a multi-line array must be on a new line 128 | ERROR | [x] Each index in a multi-line array must be on a new line 132 | ERROR | [x] Each index in a multi-line array must be on a new line 133 | ERROR | [x] Each index in a multi-line array must be on a new line 133 | ERROR | [x] Each index in a multi-line array must be on a new line 139 | ERROR | [x] Expected 1 newline at end of file; 2 found ----------------------------------------------------------------------------------- PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/editors/jwysiwyg.inc ------------------------------------------------------------------------------------ FOUND 7 ERRORS AFFECTING 7 LINES ------------------------------------------------------------------------------------ 52 | ERROR | [ ] Missing parameter type 54 | ERROR | [ ] Missing parameter type 56 | ERROR | [ ] Missing parameter type 59 | ERROR | [ ] Return type missing for @return tag in function comment 73 | ERROR | [ ] Missing parameter type 76 | ERROR | [ ] Return type missing for @return tag in function comment 97 | ERROR | [x] Expected 1 newline at end of file; 2 found ------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------ FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/editors/ckeditor.inc -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 57 ERRORS AND 3 WARNINGS AFFECTING 50 LINES -------------------------------------------------------------------------------------------------------------------------------------------- 73 | ERROR | [ ] Missing parameter type 75 | ERROR | [ ] Missing parameter type 77 | ERROR | [ ] Missing parameter type 79 | ERROR | [ ] Missing parameter type 82 | ERROR | [ ] Return type missing for @return tag in function comment 169 | ERROR | [ ] Missing parameter type 172 | ERROR | [ ] Return type missing for @return tag in function comment 186 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 201 | ERROR | [ ] Missing parameter type 203 | ERROR | [ ] Missing parameter type 206 | ERROR | [ ] Return type missing for @return tag in function comment 277 | ERROR | [ ] The array declaration extends to column 315 (the limit is 120). The array content should be split up over multiple | | lines 285 | ERROR | [ ] The array declaration extends to column 300 (the limit is 120). The array content should be split up over multiple | | lines 293 | ERROR | [ ] The array declaration extends to column 421 (the limit is 120). The array content should be split up over multiple | | lines 299 | ERROR | [ ] The array declaration extends to column 198 (the limit is 120). The array content should be split up over multiple | | lines 310 | ERROR | [ ] The array declaration extends to column 431 (the limit is 120). The array content should be split up over multiple | | lines 366 | ERROR | [x] Use null coalesce operator instead of ternary operator. 373 | ERROR | [x] Use null coalesce operator instead of ternary operator. 374 | ERROR | [ ] The array declaration extends to column 678 (the limit is 120). The array content should be split up over multiple | | lines 406 | ERROR | [ ] The array declaration extends to column 191 (the limit is 120). The array content should be split up over multiple | | lines 425 | ERROR | [ ] The array declaration extends to column 414 (the limit is 120). The array content should be split up over multiple | | lines 455 | WARNING | [ ] Line exceeds 80 characters; contains 105 characters 455 | ERROR | [ ] Doc comment short description must start with a capital letter 464 | WARNING | [ ] Line exceeds 80 characters; contains 97 characters 464 | ERROR | [ ] Doc comment short description must start with a capital letter 477 | ERROR | [ ] Doc comment for parameter $library does not match actual variable name <undefined> 479 | ERROR | [ ] Superfluous parameter comment 507 | ERROR | [ ] Missing parameter type 509 | ERROR | [ ] Missing parameter type 511 | ERROR | [ ] Missing parameter type 514 | ERROR | [ ] Return type missing for @return tag in function comment 550 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 575 | ERROR | [x] Use null coalesce operator instead of ternary operator. 588 | ERROR | [x] Use null coalesce operator instead of ternary operator. 734 | ERROR | [x] list(...) is forbidden, use [...] instead. 786 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters 792 | ERROR | [x] Each index in a multi-line array must be on a new line 792 | ERROR | [x] Each index in a multi-line array must be on a new line 794 | ERROR | [x] Each index in a multi-line array must be on a new line 794 | ERROR | [x] Each index in a multi-line array must be on a new line 794 | ERROR | [x] Each index in a multi-line array must be on a new line 795 | ERROR | [x] Each index in a multi-line array must be on a new line 796 | ERROR | [x] Each index in a multi-line array must be on a new line 797 | ERROR | [x] Each index in a multi-line array must be on a new line 798 | ERROR | [x] Each index in a multi-line array must be on a new line 799 | ERROR | [x] Each index in a multi-line array must be on a new line 799 | ERROR | [x] Each index in a multi-line array must be on a new line 801 | ERROR | [x] Each index in a multi-line array must be on a new line 802 | ERROR | [x] Each index in a multi-line array must be on a new line 803 | ERROR | [x] Each index in a multi-line array must be on a new line 805 | ERROR | [x] Each index in a multi-line array must be on a new line 805 | ERROR | [x] Each index in a multi-line array must be on a new line 806 | ERROR | [x] Each index in a multi-line array must be on a new line 810 | ERROR | [x] Each index in a multi-line array must be on a new line 810 | ERROR | [x] Each index in a multi-line array must be on a new line 810 | ERROR | [x] Each index in a multi-line array must be on a new line 812 | ERROR | [x] Each index in a multi-line array must be on a new line 812 | ERROR | [x] Each index in a multi-line array must be on a new line 813 | ERROR | [x] Each index in a multi-line array must be on a new line 817 | ERROR | [x] Each index in a multi-line array must be on a new line -------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 31 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/editors/tinymce.inc -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 80 ERRORS AND 13 WARNINGS AFFECTING 82 LINES -------------------------------------------------------------------------------------------------------------------------------------------- 106 | ERROR | [ ] Missing parameter type 109 | ERROR | [ ] Return type missing for @return tag in function comment 135 | ERROR | [ ] Missing parameter type 137 | ERROR | [ ] Missing parameter type 140 | ERROR | [ ] Return type missing for @return tag in function comment 149 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 150 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters 150 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6 151 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 8 152 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6 153 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 154 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 155 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 158 | ERROR | [x] Line indented incorrectly; expected 3 spaces, found 2 397 | ERROR | [ ] The array declaration extends to column 160 (the limit is 120). The array content should be split up over multiple | | lines 442 | ERROR | [ ] The array declaration extends to column 158 (the limit is 120). The array content should be split up over multiple | | lines 627 | ERROR | [ ] The array declaration extends to column 170 (the limit is 120). The array content should be split up over multiple | | lines 650 | WARNING | [ ] Line exceeds 80 characters; contains 110 characters 650 | ERROR | [ ] Doc comment short description must start with a capital letter 659 | WARNING | [ ] Line exceeds 80 characters; contains 90 characters 659 | ERROR | [ ] Doc comment short description must start with a capital letter 664 | WARNING | [ ] Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use | | placeholders 669 | WARNING | [ ] Line exceeds 80 characters; contains 96 characters 669 | ERROR | [ ] Doc comment short description must start with a capital letter 674 | WARNING | [ ] Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use | | placeholders 679 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters 679 | ERROR | [ ] Doc comment short description must start with a capital letter 684 | WARNING | [ ] Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use | | placeholders 695 | ERROR | [ ] Doc comment for parameter $profile does not match actual variable name <undefined> 725 | ERROR | [ ] Missing parameter type 727 | ERROR | [ ] Missing parameter type 729 | ERROR | [ ] Missing parameter type 732 | ERROR | [ ] Return type missing for @return tag in function comment 836 | ERROR | [x] Use null coalesce operator instead of ternary operator. 957 | ERROR | [ ] The array declaration extends to column 153 (the limit is 120). The array content should be split up over multiple | | lines 1173 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters 1178 | WARNING | [x] There must be no blank line following an inline comment 1178 | WARNING | [ ] There must be no blank line following an inline comment 1185 | ERROR | [x] Each index in a multi-line array must be on a new line 1185 | ERROR | [x] Each index in a multi-line array must be on a new line 1187 | ERROR | [x] Each index in a multi-line array must be on a new line 1187 | ERROR | [x] Each index in a multi-line array must be on a new line 1187 | ERROR | [x] Each index in a multi-line array must be on a new line 1188 | ERROR | [x] Each index in a multi-line array must be on a new line 1189 | ERROR | [x] Each index in a multi-line array must be on a new line 1190 | ERROR | [x] Each index in a multi-line array must be on a new line 1191 | ERROR | [x] Each index in a multi-line array must be on a new line 1191 | ERROR | [x] Each index in a multi-line array must be on a new line 1194 | ERROR | [x] Each index in a multi-line array must be on a new line 1195 | ERROR | [x] Each index in a multi-line array must be on a new line 1196 | ERROR | [x] Each index in a multi-line array must be on a new line 1197 | ERROR | [x] Each index in a multi-line array must be on a new line 1198 | ERROR | [x] Each index in a multi-line array must be on a new line 1200 | ERROR | [x] Each index in a multi-line array must be on a new line 1200 | ERROR | [x] Each index in a multi-line array must be on a new line 1270 | ERROR | [ ] The array declaration extends to column 125 (the limit is 120). The array content should be split up over multiple | | lines 1312 | ERROR | [ ] The array declaration extends to column 187 (the limit is 120). The array content should be split up over multiple | | lines 1358 | ERROR | [ ] The array declaration extends to column 212 (the limit is 120). The array content should be split up over multiple | | lines 1410 | ERROR | [x] Each index in a multi-line array must be on a new line 1411 | ERROR | [x] Each index in a multi-line array must be on a new line 1412 | ERROR | [x] Each index in a multi-line array must be on a new line 1413 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 1445 | ERROR | [ ] Missing parameter type 1459 | ERROR | [ ] Missing parameter type 1461 | ERROR | [ ] Missing parameter type 1478 | ERROR | [ ] Missing parameter type 1507 | WARNING | [ ] Unused variable $is_v_3. 1520 | ERROR | [x] Case breaking statements must be followed by a single blank line 1522 | ERROR | [x] Case breaking statements must be followed by a single blank line 1524 | ERROR | [x] Case breaking statements must be followed by a single blank line 1526 | ERROR | [x] Case breaking statements must be followed by a single blank line 1528 | ERROR | [x] Case breaking statements must be followed by a single blank line 1535 | ERROR | [x] Case breaking statements must be followed by a single blank line 1538 | ERROR | [x] Case breaking statements must be followed by a single blank line 1541 | ERROR | [x] Case breaking statements must be followed by a single blank line 1543 | ERROR | [x] Case breaking statements must be followed by a single blank line 1545 | ERROR | [x] Case breaking statements must be followed by a single blank line 1547 | ERROR | [x] Case breaking statements must be followed by a single blank line 1549 | ERROR | [x] Case breaking statements must be followed by a single blank line 1551 | ERROR | [x] Case breaking statements must be followed by a single blank line 1553 | ERROR | [x] Case breaking statements must be followed by a single blank line 1572 | ERROR | [x] Case breaking statements must be followed by a single blank line 1574 | ERROR | [x] Case breaking statements must be followed by a single blank line 1576 | ERROR | [x] Case breaking statements must be followed by a single blank line 1578 | ERROR | [x] Case breaking statements must be followed by a single blank line 1580 | ERROR | [x] Case breaking statements must be followed by a single blank line 1583 | ERROR | [x] Case breaking statements must be followed by a single blank line 1585 | ERROR | [x] Case breaking statements must be followed by a single blank line 1587 | ERROR | [x] Case breaking statements must be followed by a single blank line 1589 | ERROR | [x] Case breaking statements must be followed by a single blank line 1591 | ERROR | [x] Case breaking statements must be followed by a single blank line 1593 | ERROR | [x] Case breaking statements must be followed by a single blank line 1595 | ERROR | [x] Case breaking statements must be followed by a single blank line -------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 57 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/editors/markitup.inc ------------------------------------------------------------------------------------ FOUND 11 ERRORS AND 3 WARNINGS AFFECTING 14 LINES ------------------------------------------------------------------------------------ 56 | ERROR | [ ] Missing parameter type 59 | ERROR | [ ] Return type missing for @return tag in function comment 84 | ERROR | [ ] Missing parameter type 86 | ERROR | [ ] Missing parameter type 89 | ERROR | [ ] Return type missing for @return tag in function comment 108 | ERROR | [ ] Missing parameter type 110 | ERROR | [ ] Missing parameter type 112 | ERROR | [ ] Missing parameter type 115 | ERROR | [ ] Return type missing for @return tag in function comment 170 | WARNING | [ ] '@todo' should match the format '@todo Fix problem X here.' 171 | WARNING | [ ] Line exceeds 80 characters; contains 179 characters 193 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters 199 | ERROR | [x] Each index in a multi-line array must be on a new line 209 | ERROR | [x] Expected 1 newline at end of file; 2 found ------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------ FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/editors/wymeditor.inc ------------------------------------------------------------------------------------- FOUND 17 ERRORS AND 1 WARNING AFFECTING 18 LINES ------------------------------------------------------------------------------------- 50 | ERROR | [ ] Missing parameter type 53 | ERROR | [ ] Return type missing for @return tag in function comment 80 | ERROR | [ ] Missing parameter type 82 | ERROR | [ ] Missing parameter type 85 | ERROR | [ ] Return type missing for @return tag in function comment 120 | ERROR | [ ] Missing parameter type 122 | ERROR | [ ] Missing parameter type 124 | ERROR | [ ] Missing parameter type 127 | ERROR | [ ] Return type missing for @return tag in function comment 133 | ERROR | [x] Use null coalesce operator instead of ternary operator. 218 | ERROR | [x] Use null coalesce operator instead of ternary operator. 234 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters 240 | ERROR | [x] Each index in a multi-line array must be on a new line 241 | ERROR | [x] Each index in a multi-line array must be on a new line 242 | ERROR | [x] Each index in a multi-line array must be on a new line 243 | ERROR | [x] Each index in a multi-line array must be on a new line 244 | ERROR | [x] Each index in a multi-line array must be on a new line 246 | ERROR | [x] Each index in a multi-line array must be on a new line ------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/editors/epiceditor.inc -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 13 ERRORS AFFECTING 13 LINES -------------------------------------------------------------------------------------------------------------------------------------------- 45 | ERROR | [ ] Missing parameter type 48 | ERROR | [ ] Return type missing for @return tag in function comment 73 | ERROR | [ ] Missing parameter type 75 | ERROR | [ ] Missing parameter type 78 | ERROR | [ ] Return type missing for @return tag in function comment 85 | ERROR | [x] No space found before comment text; expected "// return array('preview-dark', 'github');" but found "//return | | array('preview-dark', 'github');" 91 | ERROR | [x] Additional blank lines found at end of doc comment 101 | ERROR | [ ] Missing parameter type 103 | ERROR | [ ] Missing parameter type 105 | ERROR | [ ] Missing parameter type 108 | ERROR | [ ] Return type missing for @return tag in function comment 117 | ERROR | [x] No space found before comment text; expected "// 'preview_theme' => ''," but found "//'preview_theme' => ''," 120 | ERROR | [x] Expected 1 newline at end of file; 2 found -------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/sourav/projects/my_site/web/modules/contrib/wysiwyg/editors/fckeditor.inc -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 39 ERRORS AND 1 WARNING AFFECTING 32 LINES -------------------------------------------------------------------------------------------------------------------------------------------- 51 | ERROR | [ ] Missing parameter type 54 | ERROR | [ ] Return type missing for @return tag in function comment 77 | ERROR | [ ] Missing parameter type 79 | ERROR | [ ] Missing parameter type 82 | ERROR | [ ] Return type missing for @return tag in function comment 110 | ERROR | [ ] The array declaration extends to column 345 (the limit is 120). The array content should be split up over multiple | | lines 117 | ERROR | [ ] The array declaration extends to column 392 (the limit is 120). The array content should be split up over multiple | | lines 125 | ERROR | [ ] The array declaration extends to column 409 (the limit is 120). The array content should be split up over multiple | | lines 141 | ERROR | [ ] The array declaration extends to column 450 (the limit is 120). The array content should be split up over multiple | | lines 148 | ERROR | [ ] The array declaration extends to column 417 (the limit is 120). The array content should be split up over multiple | | lines 155 | ERROR | [ ] Missing parameter type 157 | ERROR | [ ] Missing parameter type 159 | ERROR | [ ] Missing parameter type 162 | ERROR | [ ] Return type missing for @return tag in function comment 203 | ERROR | [x] Use null coalesce operator instead of ternary operator. 286 | ERROR | [x] Expected 1 blank line after function; 2 found 290 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters 296 | ERROR | [x] Each index in a multi-line array must be on a new line 296 | ERROR | [x] Each index in a multi-line array must be on a new line 298 | ERROR | [x] Each index in a multi-line array must be on a new line 298 | ERROR | [x] Each index in a multi-line array must be on a new line 298 | ERROR | [x] Each index in a multi-line array must be on a new line 299 | ERROR | [x] Each index in a multi-line array must be on a new line 300 | ERROR | [x] Each index in a multi-line array must be on a new line 301 | ERROR | [x] Each index in a multi-line array must be on a new line 302 | ERROR | [x] Each index in a multi-line array must be on a new line 302 | ERROR | [x] Each index in a multi-line array must be on a new line 304 | ERROR | [x] Each index in a multi-line array must be on a new line 305 | ERROR | [x] Each index in a multi-line array must be on a new line 306 | ERROR | [x] Each index in a multi-line array must be on a new line 308 | ERROR | [x] Each index in a multi-line array must be on a new line 308 | ERROR | [x] Each index in a multi-line array must be on a new line 309 | ERROR | [x] Each index in a multi-line array must be on a new line 314 | ERROR | [x] Each index in a multi-line array must be on a new line 314 | ERROR | [x] Each index in a multi-line array must be on a new line 314 | ERROR | [x] Each index in a multi-line array must be on a new line 316 | ERROR | [x] Each index in a multi-line array must be on a new line 316 | ERROR | [x] Each index in a multi-line array must be on a new line 318 | ERROR | [x] Each index in a multi-line array must be on a new line 369 | ERROR | [x] Expected 1 newline at end of file; 2 found -------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 25 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------- Time: 869ms; Memory: 26MB