- 🇮🇳India Akshay kashyap
Thanks, Harsh Panchal
Applied Patch cleanly 2
Please fix this coding standard issueFILE: /home/gai/drupal-git/drupal/themes/contrib/ajans/assets/css/bootstrap.css ------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------- 3030 | ERROR | Style definitions must end with a semicolon ------------------------------------------------------------------------------- FILE: /home/gai/drupal-git/drupal/themes/contrib/ajans/assets/js/jquery.min.js ------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------ 1 | WARNING | File appears to be minified and cannot be processed ------------------------------------------------------------------------------ FILE: /home/gai/drupal-git/drupal/themes/contrib/ajans/assets/js/isotope.pkgd.js -------------------------------------------------------------------------------------------------- FOUND 327 ERRORS AFFECTING 307 LINES -------------------------------------------------------------------------------------------------- 19 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 24 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 51 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 52 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 67 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 72 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 77 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 94 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 119 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 163 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 177 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 178 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 3 empty lines 180 | ERROR | [ ] More than 2 empty lines are not allowed 185 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 201 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 213 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 218 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 231 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 242 | ERROR | [x] Expected 1 space before "="; 0 found 242 | ERROR | [x] Expected 1 space after "="; 0 found 259 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 277 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 306 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 338 | ERROR | [x] Expected 1 space before "="; 0 found 338 | ERROR | [x] Expected 1 space after "="; 0 found 363 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 377 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 431 | ERROR | [x] Expected 1 space before "="; 0 found 431 | ERROR | [x] Expected 1 space after "="; 0 found 450 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 457 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 484 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 502 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 515 | ERROR | [x] Expected 1 space before "="; 0 found 515 | ERROR | [x] Expected 1 space after "="; 0 found 537 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 545 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 563 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 3 empty lines 565 | ERROR | [ ] More than 2 empty lines are not allowed 571 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 580 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 589 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 595 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 611 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 620 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 632 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 642 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 651 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 656 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 674 | ERROR | [x] Expected 1 space before "="; 0 found 674 | ERROR | [x] Expected 1 space after "="; 0 found 684 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 690 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 696 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 705 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 718 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 719 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 730 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 731 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 741 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 776 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 809 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 811 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 812 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 861 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 875 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 882 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 890 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 901 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 929 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 961 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 967 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 973 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1000 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1004 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1014 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1021 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1034 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1052 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1066 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1069 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1079 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 1086 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1093 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1100 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1126 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 1131 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1135 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1144 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1176 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1178 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 1179 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 1186 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1201 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1208 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1216 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1223 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1231 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1237 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1251 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1256 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1269 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1281 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1283 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1297 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1302 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1311 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1333 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1345 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1376 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1384 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 1433 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1434 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1435 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1436 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1437 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1458 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1465 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1482 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1499 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1503 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 1510 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1517 | ERROR | [x] Expected 1 space before "="; 0 found 1517 | ERROR | [x] Expected 1 space after "="; 0 found 1531 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1539 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1540 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1550 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1561 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1570 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1573 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 1575 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1589 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1611 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1625 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1626 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1636 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1646 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1663 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1676 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1678 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1684 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1686 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 1701 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1715 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1719 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1726 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1727 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 1743 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1766 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1769 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 1787 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1798 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1826 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1829 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1837 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1848 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1863 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1869 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1881 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1893 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1904 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1926 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1948 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1950 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 1956 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1958 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 1961 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1967 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1981 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1996 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2009 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2015 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 2023 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2035 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 2045 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2051 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2061 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2067 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2077 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2086 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2097 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2099 | ERROR | [x] Expected 1 space before "="; 0 found 2099 | ERROR | [x] Expected 1 space after "="; 0 found 2113 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2116 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2130 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2140 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2150 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2157 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2180 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2185 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 2193 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2271 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2306 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2313 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2332 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2349 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2405 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2406 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2414 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2425 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2429 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2433 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2442 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2458 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2465 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2469 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2478 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2511 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2536 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 3 empty lines 2538 | ERROR | [ ] More than 2 empty lines are not allowed 2548 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2556 | ERROR | [x] Expected 1 space before "="; 0 found 2556 | ERROR | [x] Expected 1 space after "="; 0 found 2564 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2589 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2599 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2626 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2641 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2657 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2668 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2683 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2706 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2719 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2733 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2749 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2784 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 2785 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 2786 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 2798 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2806 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2822 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2850 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2857 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2879 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2891 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2921 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2925 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2934 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2952 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 2969 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3000 | ERROR | [x] Multi-line function declarations must define one parameter per line 3000 | ERROR | [x] Multi-line function declarations must define one parameter per line 3000 | ERROR | [x] Multi-line function declarations must define one parameter per line 3000 | ERROR | [x] Multi-line function declarations must define one parameter per line 3001 | ERROR | [x] Multi-line function declarations must define one parameter per line 3002 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 3 empty lines 3004 | ERROR | [ ] More than 2 empty lines are not allowed 3012 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3015 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3024 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 3025 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 3033 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3053 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3060 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3063 | ERROR | [x] Expected 1 space before "="; 0 found 3063 | ERROR | [x] Expected 1 space after "="; 0 found 3070 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 3074 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3084 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 3086 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3096 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3105 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 3109 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3133 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3141 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3151 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3157 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 3160 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3161 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 3164 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3165 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 3168 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3169 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 3176 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3186 | ERROR | [x] Expected 1 space before "="; 0 found 3186 | ERROR | [x] Expected 1 space after "="; 0 found 3215 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3218 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3224 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3229 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3240 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3255 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3267 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3271 | ERROR | [x] Expected 1 space before "="; 0 found 3271 | ERROR | [x] Expected 1 space after "="; 0 found 3281 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3302 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3306 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3334 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3337 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3345 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3361 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3362 | ERROR | [x] Expected 1 space before "="; 0 found 3362 | ERROR | [x] Expected 1 space after "="; 0 found 3364 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 3367 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 3392 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3405 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3411 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3415 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3419 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3423 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3430 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3442 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3459 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3465 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 3473 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3481 | ERROR | [x] Expected 1 space before "="; 0 found 3481 | ERROR | [x] Expected 1 space after "="; 0 found 3488 | ERROR | [x] Expected 1 space before "="; 0 found 3488 | ERROR | [x] Expected 1 space after "="; 0 found 3489 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 3493 | ERROR | [x] Expected 1 space before "="; 0 found 3493 | ERROR | [x] Expected 1 space after "="; 0 found 3500 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3508 | ERROR | [x] Expected 1 space before "="; 0 found 3508 | ERROR | [x] Expected 1 space after "="; 0 found 3515 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3517 | ERROR | [x] Expected 1 space before "="; 0 found 3517 | ERROR | [x] Expected 1 space after "="; 0 found 3534 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3552 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3553 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3562 | ERROR | [x] Expected 1 newline at end of file; 2 found 3563 | ERROR | [x] Additional whitespace found at end of file -------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 323 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------- FILE: /home/gai/drupal-git/drupal/themes/contrib/ajans/assets/js/fslightbox.js ------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------ 1 | WARNING | File appears to be minified and cannot be processed ------------------------------------------------------------------------------ FILE: /home/gai/drupal-git/drupal/themes/contrib/ajans/assets/js/bootstrap.bundle.min.js ---------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------- 1 | WARNING | File appears to be minified and cannot be processed ---------------------------------------------------------------------------------------- FILE: /home/gai/drupal-git/drupal/themes/contrib/ajans/assets/js/custom.js -------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 newline at end of file; 0 found -------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: /home/gai/drupal-git/drupal/themes/contrib/ajans/assets/js/templatemo.min.js ---------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 1 LINE ---------------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 1 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------- FILE: /home/gai/drupal-git/drupal/themes/contrib/ajans/assets/js/templatemo.js ----------------------------------------------------------------------------------------------- FOUND 4 ERRORS AFFECTING 4 LINES ----------------------------------------------------------------------------------------------- 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n" 2 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 3 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines 5 | ERROR | [x] Expected 1 newline at end of file; 0 found ----------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY -----------------------------------------------------------------------------------------------
- Status changed to Needs work
almost 2 years ago 12:07pm 4 April 2023 - @akshay-kashyap opened merge request.
- 🇮🇳India Akshay kashyap
I have created a patch to fixed the Drupal coding standard issue please review.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 12:02pm 18 May 2023 - Status changed to RTBC
over 1 year ago 5:01am 19 May 2023 - 🇮🇳India keshavv India
Reviewed and tested the patch. Confirmed that it will resolve all mentioned issues.
- Status changed to Needs work
over 1 year ago 8:10am 19 May 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, show which command and arguments have been used, and which report that command shown.
- Status changed to Needs review
over 1 year ago 9:23am 19 May 2023 - 🇮🇳India Raveen Kumar
Hi Guys,
I have reviewed & tested patch #7. And it seems to be working fine for me.
And Thank you. - Status changed to RTBC
over 1 year ago 8:49am 24 May 2023 - Status changed to Needs review
over 1 year ago 1:37pm 24 May 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
The status needs to be changed by somebody else.
- Status changed to RTBC
over 1 year ago 2:02pm 24 May 2023 - Status changed to Needs work
over 1 year ago 3:57pm 24 May 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
/** * @file - * Contains theme override functions and preprocess functions + * Contains theme override functions and preprocess functions. */
The usual description is Hook implementations for the [theme name] theme. where [theme name] is replaced by the theme name shown in the .info.yml file.
+ // Assign Variable for slider. + if ($variables['is_front']) {
Since that comment is edited, it should also corrected to Assign the variable for the slider.
'#title' => t('About Us'), '#attributes' => [ - 'placeholder' => 'Max 100 characters' + 'placeholder' => 'Max 100 characters', ],
Since that code is changed,
'Max 100 characters'
must be passed tot()
.- //Slide show configure + // Slide show configure.
Since that comment is edited, it should also be corrected: Configure the slideshow.
- Assigned to nitin_lama
- Issue was unassigned.
- Assigned to imustakim
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 12:08pm 23 June 2023 - Assigned to arti_parmar
- Issue was unassigned.
Hi, patch #23 applied cleanly but it not fixes all the phpcs issues.
$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml ajans/ FILE: C:\Users\Nisha\ajans\ajans.theme ----------------------------------------------------------------------------------------------------- FOUND 78 ERRORS AND 13 WARNINGS AFFECTING 67 LINES ----------------------------------------------------------------------------------------------------- 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n" 8 | WARNING | [x] Unused use statement 9 | WARNING | [x] Unused use statement 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is | | Drupal\Core\Template\Attribute. 10 | WARNING | [x] Unused use statement 11 | WARNING | [x] Unused use statement 12 | WARNING | [x] Unused use statement 13 | WARNING | [x] Unused use statement 15 | WARNING | [x] Unused use statement 16 | WARNING | [x] Unused use statement 17 | ERROR | [x] There must be one blank line after the last USE statement; 2 found; 22 | ERROR | [x] There must be no blank lines after the function comment 41 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, | | colons, or closing parentheses 42 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 42 | ERROR | [x] Equals sign not aligned with surrounding assignments; expected 1 space but | | found 2 spaces 43 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 44 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 48 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 49 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 49 | ERROR | [x] Expected one space after the comma, 0 found 50 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 51 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 52 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 53 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 54 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 55 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 64 | ERROR | [x] There should be no white space after an opening "{" 64 | ERROR | [x] Comments may not appear after statements 66 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 67 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 68 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 70 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 71 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6 72 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6 73 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4 74 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 75 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 75 | ERROR | [x] Closing brace indented incorrectly; expected 2 spaces, found 0 80 | ERROR | [ ] Doc comment short description must be on a single line, further text should be | | a separate paragraph 83 | ERROR | [x] Short array syntax must be used to define arrays 87 | ERROR | [x] Concat operator must be surrounded by a single space 88 | ERROR | [x] Concat operator must be surrounded by a single space 95 | ERROR | [x] Missing function doc comment 96 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 97 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 98 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 99 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 99 | ERROR | [x] Concat operator must be surrounded by a single space 99 | ERROR | [x] Expected one space after the comma, 0 found 100 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 101 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 102 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 103 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 104 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 105 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 106 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 107 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 110 | ERROR | [x] Expected 1 blank line after function; 2 found 116 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 241 | ERROR | [x] Whitespace found at end of line 245 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders | | with t() for variables 245 | ERROR | [ ] Concatenating translatable strings is not allowed, use placeholders instead and | | only one string literal 245 | ERROR | [x] Concat operator must be surrounded by a single space 251 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders | | with t() for variables 251 | ERROR | [ ] Concatenating translatable strings is not allowed, use placeholders instead and | | only one string literal 251 | ERROR | [x] Concat operator must be surrounded by a single space 251 | ERROR | [x] Concat operator must be surrounded by a single space 252 | ERROR | [x] Concat operator must be surrounded by a single space 252 | ERROR | [x] Expected one space after the comma, 0 found 257 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders | | with t() for variables 257 | ERROR | [ ] Concatenating translatable strings is not allowed, use placeholders instead and | | only one string literal 257 | ERROR | [x] Concat operator must be surrounded by a single space 257 | ERROR | [x] Concat operator must be surrounded by a single space 258 | ERROR | [x] Expected one space after the comma, 0 found 262 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders | | with t() for variables 262 | ERROR | [ ] Concatenating translatable strings is not allowed, use placeholders instead and | | only one string literal 262 | ERROR | [x] Concat operator must be surrounded by a single space 262 | ERROR | [x] Concat operator must be surrounded by a single space 263 | ERROR | [x] Expected one space after the comma, 0 found 264 | ERROR | [x] Whitespace found at end of line 267 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders | | with t() for variables 267 | ERROR | [ ] Concatenating translatable strings is not allowed, use placeholders instead and | | only one string literal 267 | ERROR | [x] Concat operator must be surrounded by a single space 267 | ERROR | [x] Concat operator must be surrounded by a single space 268 | ERROR | [x] Expected one space after the comma, 0 found 272 | ERROR | [x] Concat operator must be surrounded by a single space 272 | ERROR | [x] Expected one space after the comma, 0 found 273 | ERROR | [x] Expected 1 space after IF keyword; 0 found 273 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 ----------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 80 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------- FILE: C:\Users\Nisha\ajans\assets\css\bootstrap.css ------------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ------------------------------------------------------------------------------------- 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n" 3030 | ERROR | [ ] Style definitions must end with a semicolon ------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------- FILE: C:\Users\Nisha\ajans\assets\css\custom.css ---------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------- 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n" ---------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------- FILE: C:\Users\Nisha\ajans\assets\css\templatemo.css ------------------------------------------------------------------------------------ FOUND 3 ERRORS AFFECTING 3 LINES ------------------------------------------------------------------------------------ 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n" 163 | ERROR | [ ] Style definitions must end with a semicolon 199 | ERROR | [ ] Style definitions must end with a semicolon ------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------ FILE: C:\Users\Nisha\ajans\css\style.css ------------------------------------------------------------------------------------ FOUND 3 ERRORS AFFECTING 3 LINES ------------------------------------------------------------------------------------ 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n" 52 | ERROR | [ ] Style definitions must end with a semicolon 137 | ERROR | [x] Expected 1 newline at end of file; 0 found ------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------ FILE: C:\Users\Nisha\ajans\css\theme.css ---------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------- 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n" ---------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------- Time: 10.43 secs; Memory: 124MB
- 🇮🇳India dev16.addweb
Hi, Reroll patch #23 and resolved phpcs issue from 1.0.x branch.
- Merge request !38Issue #3291612: Fix the warnings/errors reported by PHP_CodeSniffer → (Open) created by apaderno