vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig web/modules/contrib/taxonomy_custom_controller/
FILE: ...ib/taxonomy_custom_controller/src/EventSubscriber/RouteAlterSubscriber.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------
8 | WARNING | [x] Unused use statement
15 | ERROR | [ ] Missing short description in doc comment
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...www/html/drupalvb/web/modules/contrib/taxonomy_custom_controller/README.md
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------------
14 | WARNING | [ ] Line exceeds 80 characters; contains 113 characters
16 | WARNING | [ ] Line exceeds 80 characters; contains 159 characters
28 | WARNING | [ ] Line exceeds 80 characters; contains 92 characters
76 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters
88 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 448ms; Memory: 12MB
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | codingstandards-3354152-3.patch | 2.41 KB | dineshkumarbollu |
| #2 | codingstandards-3354152-2.patch | 2.41 KB | dineshkumarbollu |
Comments
Comment #2
dineshkumarbollu commentedComment #3
niklanThank you for patch, but there are still some problems:
The last argument should also have a comma in that case.
+ * {@inheritDoc}It should be lowercase.
{@inheritdoc}Comment #4
dineshkumarbollu commentedHi Niklan
I change the lines which you suggest and creates a patch please review.
thanks
Comment #6
niklanCommitted, thank you.