Problem/Motivation
FILE: /var/www/html/vb/d_cont/atsmarttag/src/ATSmartTagUtils.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
5 | ERROR | [x] Missing class doc comment
7 | ERROR | [x] Missing function doc comment
21 | ERROR | [x] Missing function doc comment
37 | ERROR | [ ] Doc comment is empty
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /var/www/html/vb/d_cont/atsmarttag/src/Form/ATSmartTagDialog.php
--------------------------------------------------------------------------------
FOUND 11 ERRORS AND 2 WARNINGS AFFECTING 11 LINES
--------------------------------------------------------------------------------
36 | ERROR | [x] There must be exactly one blank line before the tags in a
| | doc comment
36 | ERROR | [ ] Description for the @return value is missing
59 | ERROR | [x] Short array syntax must be used to define arrays
131 | ERROR | [x] Short array syntax must be used to define arrays
132 | ERROR | [x] Short array syntax must be used to define arrays
132 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
208 | WARNING | [ ] Possible useless method overriding detected
244 | ERROR | [x] Missing function doc comment
278 | ERROR | [x] Missing function doc comment
282 | ERROR | [x] Missing function doc comment
286 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
289 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
292 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: /var/www/html/vb/d_cont/atsmarttag/atsmarttag.module
--------------------------------------------------------------------------------
FOUND 17 ERRORS AFFECTING 12 LINES
--------------------------------------------------------------------------------
3 | ERROR | [ ] Missing short description in doc comment
24 | ERROR | [x] Case breaking statements must be followed by a single blank
| | line
28 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
| | with use statements
58 | ERROR | [ ] Missing short description in doc comment
59 | ERROR | [ ] Missing parameter comment
59 | ERROR | [ ] Missing parameter type
61 | ERROR | [ ] Description for the @return value is missing
106 | ERROR | [ ] Missing short description in doc comment
107 | ERROR | [ ] Missing parameter comment
107 | ERROR | [ ] Missing parameter type
108 | ERROR | [ ] Missing parameter comment
109 | ERROR | [ ] Missing parameter comment
109 | ERROR | [ ] Missing parameter type
110 | ERROR | [ ] Missing parameter comment
110 | ERROR | [ ] Missing parameter type
112 | ERROR | [ ] If there is no return value for a function, there must not
| | be a @return tag.
112 | ERROR | [ ] Description for the @return value is missing
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: /var/www/html/vb/d_cont/atsmarttag/atsmarttag.info.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
5 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Time: 115ms; 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 atsmarttag/
Remaining tasks
Patch review