- Issue created by @amanbtr72
- Status changed to Needs review
7 months ago 6:49am 25 April 2024 - last update
7 months ago 9 pass - Status changed to Needs work
7 months ago 11:21am 25 April 2024 - 🇮🇳India chandansha
In above phpcs command js extension was missing so found issues with js files kindly fix the issues.
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig .
FILE: /home/chandansha/docker/testd9/web/modules/custom/color-3443370/preview.js -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 41 | ERROR | [x] Expected 1 newline at end of file; 0 found -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: /home/chandansha/docker/testd9/web/modules/custom/color-3443370/preview.es6.js ------------------------------------------------------------------------------------ FOUND 10 ERRORS AFFECTING 3 LINES ------------------------------------------------------------------------------------ 68 | ERROR | [x] Expected 1 space before "-"; 0 found 68 | ERROR | [x] Expected 1 space after "-"; 0 found 68 | ERROR | [x] Expected 1 space before "="; 0 found 68 | ERROR | [x] Expected 1 space after "="; 0 found 75 | ERROR | [x] Expected 1 space before "-"; 0 found 75 | ERROR | [x] Expected 1 space after "-"; 0 found 75 | ERROR | [x] Expected 1 space before "="; 0 found 75 | ERROR | [x] Expected 1 space after "="; 0 found 88 | ERROR | [x] Expected 1 space before "-"; 0 found 88 | ERROR | [x] Expected 1 space after "-"; 0 found ------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------ FILE: /home/chandansha/docker/testd9/web/modules/custom/color-3443370/color.es6.js ---------------------------------------------------------------------------------------------- FOUND 44 ERRORS AFFECTING 16 LINES ---------------------------------------------------------------------------------------------- 30 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 148 | ERROR | [x] Whitespace found before second semicolon of FOR loop 157 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 159 | ERROR | [x] Whitespace found before second semicolon of FOR loop 168 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 186 | ERROR | [x] Expected 1 space before "<"; 0 found 186 | ERROR | [x] Expected 1 space after "<"; 0 found 186 | ERROR | [x] Expected 1 space before "="; 0 found 186 | ERROR | [x] Expected 1 space after "="; 0 found 186 | ERROR | [x] Expected 1 space before ">"; 0 found 186 | ERROR | [x] Expected 1 space after ">"; 0 found 186 | ERROR | [x] Expected 1 space before "<"; 0 found 186 | ERROR | [x] Expected 1 space after "<"; 0 found 186 | ERROR | [x] Expected 1 space before "/"; 0 found 186 | ERROR | [x] Expected 1 space after "/"; 0 found 186 | ERROR | [x] Expected 1 space before ">"; 0 found 186 | ERROR | [x] Expected 1 space after ">"; 0 found 188 | ERROR | [x] Expected 1 space before "-"; 0 found 188 | ERROR | [x] Expected 1 space after "-"; 0 found 188 | ERROR | [x] Expected 1 space before "-"; 0 found 188 | ERROR | [x] Expected 1 space after "-"; 0 found 198 | ERROR | [x] Expected 1 space after first semicolon of FOR loop; newline found 202 | ERROR | [x] Expected 1 space after second semicolon of FOR loop; newline found 218 | ERROR | [x] Expected 1 space before "-"; 0 found 218 | ERROR | [x] Expected 1 space after "-"; 0 found 218 | ERROR | [x] Expected 1 space before "-"; 0 found 218 | ERROR | [x] Expected 1 space after "-"; 0 found 220 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 221 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 249 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 249 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 276 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 278 | ERROR | [x] Expected 1 space before "<"; 0 found 278 | ERROR | [x] Expected 1 space after "<"; 0 found 278 | ERROR | [x] Expected 1 space before "="; 0 found 278 | ERROR | [x] Expected 1 space after "="; 0 found 278 | ERROR | [x] Expected 1 space before ">"; 0 found 278 | ERROR | [x] Expected 1 space after ">"; 0 found 280 | ERROR | [x] Expected 1 space before "<"; 0 found 280 | ERROR | [x] Expected 1 space after "<"; 0 found 280 | ERROR | [x] Expected 1 space before "/"; 0 found 280 | ERROR | [x] Expected 1 space after "/"; 0 found 280 | ERROR | [x] Expected 1 space before ">"; 0 found 280 | ERROR | [x] Expected 1 space after ">"; 0 found ---------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 44 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------- FILE: /home/chandansha/docker/testd9/web/modules/custom/color-3443370/tests/modules/color_test/themes/color_test_theme/js/color_test_theme-fontsize.js ------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------ 10 | ERROR | [x] Expected 1 newline at end of file; 0 found ------------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: /home/chandansha/docker/testd9/web/modules/custom/color-3443370/color.js ---------------------------------------------------------------------------------------------- FOUND 9 ERRORS AFFECTING 7 LINES ---------------------------------------------------------------------------------------------- 23 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 94 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 103 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 132 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 132 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 147 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 147 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 159 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 191 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------- Time: 386ms; Memory: 16MB
- last update
7 months ago 9 pass - Status changed to Needs review
7 months ago 11:24am 25 April 2024 - Status changed to RTBC
7 months ago 11:29am 25 April 2024 - 🇮🇳India chandansha
I have tested MR 12 and cannot find any phpcs issue so I move forward to RTBC.
- Issue was unassigned.