- Issue created by @abhiyanshu
It would be great to address the below minor PHPCS issues :
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml classy/
FILE: /var/www/web/themes/contrib/classy/classy.info.yml
-------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------
1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
-------------------------------------------------------------------------------------------------------------
FILE: /var/www/web/themes/contrib/classy/classy.theme
------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------
58 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
------------------------------------------------------------------------------------------------------------------
FILE: /var/www/web/themes/contrib/classy/css/components/progress.css
----------------------------------------------------------------------------------
FOUND 24 ERRORS AFFECTING 12 LINES
----------------------------------------------------------------------------------
28 | ERROR | [ ] Style definition is empty
28 | ERROR | [x] Expected 1 space after colon in style definition; newline found
29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
29 | ERROR | [ ] No style definition found on line; check for missing colon
30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
30 | ERROR | [ ] No style definition found on line; check for missing colon
31 | ERROR | [ ] Style definition is empty
31 | ERROR | [x] Expected 1 space after colon in style definition; newline found
32 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
32 | ERROR | [ ] No style definition found on line; check for missing colon
33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
33 | ERROR | [ ] No style definition found on line; check for missing colon
57 | ERROR | [x] Opening brace should be the last content on the line
57 | ERROR | [x] Closing brace of class definition must be on new line
58 | ERROR | [x] Opening brace should be the last content on the line
58 | ERROR | [x] Closing brace of class definition must be on new line
62 | ERROR | [x] Opening brace should be the last content on the line
62 | ERROR | [x] Closing brace of class definition must be on new line
63 | ERROR | [x] Opening brace should be the last content on the line
63 | ERROR | [x] Closing brace of class definition must be on new line
67 | ERROR | [x] Opening brace should be the last content on the line
67 | ERROR | [x] Closing brace of class definition must be on new line
68 | ERROR | [x] Opening brace should be the last content on the line
68 | ERROR | [x] Closing brace of class definition must be on new line
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------
Time: 271ms; Memory: 12MB
Run the command,
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml classy/
Fix the PHPCS issues.
Active
1.0
Code
It involves compliance with, or the content of coding standards. Requires broad community agreement.