- Issue created by @Harpreet_singh_saluja
- Status changed to Needs review
8 months ago 8:04am 23 April 2024 - Status changed to RTBC
8 months ago 10:23am 26 April 2024 - Status changed to Closed: won't fix
8 months ago 2:30pm 29 April 2024
Hi @Tim Bozeman
Referred source
when I run the command
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
for your module
I found this
FILE: /var/www/html/web/modules/contrib/toolbar_plus/README.md
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] Expected 1 newline at end of file; 3 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /var/www/html/web/modules/contrib/toolbar_plus/toolbar_plus.module
----------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------------------
22 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
24 | ERROR | [x] There should be no white space after an opening "["
33 | ERROR | [x] There should be no white space after an opening "["
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------
I have created Patch for this and merge request, whichever you find best
Hope you value my efforts.
Closed: won't fix
1.0
Code