FILE: ...rc/Plugin/Validation/Constraint/TelephoneConstraintValidator.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------
  3 | ERROR   | [x] Namespaced classes, interfaces and traits should
    |         |     not begin with a file doc comment
 10 | WARNING | [x] Unused use statement
 28 | ERROR   | [ ] Missing short description in doc comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...idation/src/Plugin/Validation/Constraint/TelephoneConstraint.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 3 | ERROR | [x] Namespaced classes, interfaces and traits should not
   |       |     begin with a file doc comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...w/html/web/modules/custom/telephone_validation/src/Validator.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should
    |       |     not begin with a file doc comment
 19 | ERROR | [ ] Missing short description in doc comment
 22 | ERROR | [ ] Class property $phone_utils should use lowerCamel
    |       |     naming without underscores
 24 | ERROR | [ ] Missing short description in doc comment
 40 | ERROR | [ ] Missing parameter type
 42 | ERROR | [ ] Missing parameter type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...tml/web/modules/custom/telephone_validation/src/SettingsForm.php
----------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
----------------------------------------------------------------------
   1 | ERROR | [x] The PHP open tag must be followed by exactly one
     |       |     blank line
   2 | ERROR | [x] Namespaced classes, interfaces and traits should
     |       |     not begin with a file doc comment
   4 | ERROR | [x] Doc comment short description must end with a full
     |       |     stop
  20 | ERROR | [ ] Missing short description in doc comment
  25 | ERROR | [ ] Missing short description in doc comment
  55 | ERROR | [x] Expected 1 blank line after function; 0 found
 117 | ERROR | [x] Expected 1 blank line after function; 0 found
 132 | ERROR | [x] Expected 1 blank line after function; 0 found
 133 | ERROR | [x] The closing brace for the class must have an empty
     |       |     line before it
----------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: .../telephone_validation/src/Render/Element/TelephoneValidation.php
----------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
----------------------------------------------------------------------
  3 | ERROR   | [x] Namespaced classes, interfaces and traits should
    |         |     not begin with a file doc comment
 42 | WARNING | [ ] Line exceeds 80 characters; contains 81
    |         |     characters
 56 | ERROR   | [x] Expected 1 blank line after function; 0 found
 57 | ERROR   | [x] The closing brace for the class must have an
    |         |     empty line before it
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

Time: 1.08 secs; Memory: 4Mb

Comments

zaporylie created an issue. See original summary.

zaporylie’s picture

Issue tags: +#drupalironcamp
zaporylie’s picture

Issue tags: +DevDaysSeville

With PHPCS on D.O we can now get clean reports right in here. Hurra!

zaporylie’s picture

Status: Active » Needs review
StatusFileSize
new12.46 KB

Here's patch

  • zaporylie committed 04a23e2 on 8.x-2.x
    Issue #2830820 by zaporylie: Run PHPCS and fix all coding standard...
zaporylie’s picture

StatusFileSize
new6.97 KB

Take 2.

  • zaporylie committed c87faf0 on 8.x-2.x
    Issue #2830820 by zaporylie: Run PHPCS and fix all coding standard...
zaporylie’s picture

Status: Needs review » Fixed

Now fully fixed! Yay!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.