Problem/Motivation
FILE: modules\telephone_advanced\README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------
14 | WARNING | Line exceeds 80 characters; contains 112 characters
15 | WARNING | Line exceeds 80 characters; contains 105 characters
22 | WARNING | Line exceeds 80 characters; contains 97 characters
27 | WARNING | Line exceeds 80 characters; contains 100 characters
----------------------------------------------------------------------
FILE: modules\telephone_advanced\src\FieldSettings.php
------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------
60 | WARNING | Line exceeds 80 characters; contains 85 characters
------------------------------------------------------------------------------
FILE: telephone_advanced\src\Plugin\Field\FieldFormatter\TelephoneAdvancedFormatter.php
----------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Field\FieldItemListInterface.
----------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------
FILE: modules\telephone_advanced\src\Plugin\Validation\Constraint\TelephoneAdvancedConstraint.php
-------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
-------------------------------------------------------------------------------------------------------------------------
25 | WARNING | Line exceeds 80 characters; contains 88 characters
32 | WARNING | Line exceeds 80 characters; contains 92 characters
39 | WARNING | Line exceeds 80 characters; contains 82 characters
46 | WARNING | Line exceeds 80 characters; contains 85 characters
-------------------------------------------------------------------------------------------------------------------------
FILE: modules\telephone_advanced\src\TelephoneFormatterInterface.php
--------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
18 | WARNING | Line exceeds 80 characters; contains 81 characters
--------------------------------------------------------------------------------------------
FILE: modules\telephone_advanced\src\TelephoneParserInterface.php
-----------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------
32 | WARNING | Line exceeds 80 characters; contains 81 characters
46 | WARNING | Line exceeds 80 characters; contains 81 characters
-----------------------------------------------------------------------------------------
FILE: modules\telephone_advanced\src\TelephoneValidatorInterface.php
--------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------
32 | WARNING | Line exceeds 80 characters; contains 81 characters
48 | WARNING | Line exceeds 80 characters; contains 97 characters
51 | WARNING | Line exceeds 80 characters; contains 81 characters
--------------------------------------------------------------------------------------------
Steps to reproduce
Run phpcs command to get the drupal coding standard issues.
Proposed resolution
Many of the issues can be fixed by running the phpcbf command. For the remaining ones, we will need to manually address and then commit these changes before pushing them.