Problem/Motivation
FILE: ...ww/html/vb/d_cont/disclosure_menu/src/Plugin/Block/DisclosureMenuBlock.php
--------------------------------------------------------------------------------
FOUND 14 ERRORS AND 12 WARNINGS AFFECTING 26 LINES
--------------------------------------------------------------------------------
94 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
95 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
164 | ERROR | [ ] No key specified for array entry; first entry specifies
| | key
167 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
178 | ERROR | [ ] No key specified for array entry; first entry specifies
| | key
179 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
197 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
211 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
228 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
238 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
240 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
306 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $visible_on_all_js_enabled
317 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $visible_on_all_js_enabled
328 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $visible_on_all_js_enabled
339 | ERROR | [x] Space found after object operator
341 | ERROR | [x] Space found after object operator
343 | ERROR | [x] Space found after object operator
345 | ERROR | [x] Space found after object operator
347 | ERROR | [x] Space found after object operator
349 | ERROR | [x] Space found after object operator
351 | ERROR | [x] Space found after object operator
353 | ERROR | [x] Space found after object operator
355 | ERROR | [x] Space found after object operator
357 | ERROR | [x] Space found after object operator
359 | ERROR | [x] Space found after object operator
361 | ERROR | [x] Space found after object operator
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 165ms; Memory: 10MB
Steps to reproduce
Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig disclosure_menu/\
Remaining tasks
Patch review
| Comment | File | Size | Author |
|---|---|---|---|
| coding-standard-fixes.patch | 7.01 KB | urvashi_vora |
Comments
Comment #2
jayhuskins