$ phpcs --standard=Drupal,DrupalPractice . FILE: ...odules\rebuild_cache_access\css\rebuild-cache-access.toolbar.css ---------------------------------------------------------------------- FOUND 12 ERRORS AFFECTING 12 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] End of line character is invalid; expected "\n" but | | found "\r\n" 7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 8 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 28 | ERROR | [x] Expected 1 space before opening brace of class | | definition; 0 found 29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 37 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 ---------------------------------------------------------------------- PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...ild_cache_access\src\Controller\RebuildCacheAccessController.php ---------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 1 LINE ---------------------------------------------------------------------- 1 | ERROR | [x] Missing file doc comment 1 | ERROR | [x] End of line character is invalid; expected "\n" but | | found "\r\n" ---------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...htdocs\d8poc\modules\rebuild_cache_access\src\ToolbarHandler.php ---------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 2 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] Missing file doc comment 1 | ERROR | [x] End of line character is invalid; expected "\n" but | | found "\r\n" 37 | ERROR | [x] Expected 1 spaces after parameter type; 4 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------