Problem/Motivation
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css .
FILE: .../web/modules/custom/dblog_ban/README.md
-------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 142 characters
-------------------------------------------------------------------------
FILE: .../web/modules/custom/dblog_ban/src/Form/BanUnbanConfirmFormBase.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is
| | Drupal\ban\BanIpManagerInterface.
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------
FILE: .../web/modules/custom/dblog_ban/src/Controller/IpBanUnbanController.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is
| | Drupal\ban\BanIpManagerInterface.
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------
FILE: .../web/modules/custom/dblog_ban/CHANGELOG.txt
-----------------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
-----------------------------------------------------------------------------
140 | WARNING | Line exceeds 80 characters; contains 87 characters
141 | WARNING | Line exceeds 80 characters; contains 195 characters
142 | WARNING | Line exceeds 80 characters; contains 91 characters
143 | WARNING | Line exceeds 80 characters; contains 95 characters
150 | WARNING | Line exceeds 80 characters; contains 82 characters
151 | WARNING | Line exceeds 80 characters; contains 101 characters
-----------------------------------------------------------------------------
FILE: .../web/modules/custom/dblog_ban/tests/modules/dblog_ban_test/dblog_ban_test.info.yml
--------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging
| | automatically
--------------------------------------------------------------------------------------------------------
FILE: .../web/modules/custom/dblog_ban/tests/src/Unit/RouteProcessorCsrfAjaxTest.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is
| | Drupal\dblog_ban\Services\RouteProcessorCsrfAjax.
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------
Steps to reproduce
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css .
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes