Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
the following items are failing drupal coding standards.
$ dcs modules/r4032login
FILE: /Users/bdone/Sites/community/r4032login/r4032login.module
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
82 | WARNING | #options values usually have to run through t() for
| | translation
83 | WARNING | #options values usually have to run through t() for
| | translation
----------------------------------------------------------------------
FILE: ...ommunity/r4032login/src/EventSubscriber/R4032LoginSubscriber.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
68 | ERROR | [ ] Comment missing or not on the next line for
| | @throws tag in function comment
72 | ERROR | [ ] @return doc comment specified, but function has no
| | return statement
117 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Comments
Comment #1
bdone CreditAttribution: bdone at Classic Graphics commentedComment #2
bdone CreditAttribution: bdone at Classic Graphics commentedComment #4
bdone CreditAttribution: bdone at Classic Graphics commented