app@drupal8_devshell_run [12:21:28] [/] -> % phpcs --standard=Drupal /app/www/active/core/modules/ban phpcs --standard=Drupal /app/www/active/core/modules/ban FILE: /app/www/active/core/modules/ban/src/Form/BanAdmin.php ---------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ---------------------------------------------------------------------- 21 | ERROR | Missing short description in doc comment 29 | ERROR | Missing parameter comment ---------------------------------------------------------------------- FILE: ...ve/core/modules/ban/src/Plugin/migrate/destination/BlockedIp.php ---------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 5 LINES ---------------------------------------------------------------------- 37 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 39 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 41 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 43 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 45 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces ---------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: .../core/modules/ban/src/Tests/Migrate/d7/MigrateBlockedIPsTest.php ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 41 | ERROR | Public method name | | "MigrateBlockedIPsTest::testBlockedIPs" is not in | | lowerCamel format ---------------------------------------------------------------------- FILE: .../www/active/core/modules/ban/src/Tests/IpAddressBlockingTest.php ---------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 2 LINES ---------------------------------------------------------------------- 29 | ERROR | [ ] Method name | | "IpAddressBlockingTest::testIPAddressValidation" is | | not in lowerCamel format 29 | ERROR | [ ] Visibility must be declared on method | | "testIPAddressValidation" 82 | ERROR | [x] The closing brace for the class must have an empty | | line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: /app/www/active/core/modules/ban/src/BanIpManager.php ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 72 | ERROR | [x] The closing brace for the class must have an empty | | line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...s/ban/tests/src/Unit/Plugin/migrate/source/d7/BlockedIpsTest.php ---------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES ---------------------------------------------------------------------- 16 | ERROR | [x] Separate the @coversDefaultClass and @group | | sections by a blank line. 36 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found 37 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- Time: 135ms; Memory: 6.25Mb