Created on 5 March 2024, 4 months ago
Updated 24 May 2024, about 1 month ago

Problem/Motivation

Running phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml shows the following errors/warnings which should be fixed.

FILE: /var/www/html/data/phpcs_test/phone_international/tests/src/Functional/PhoneInternationalFieldTest.php
------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------
 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\entity_test\Entity\EntityTest.
------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/data/phpcs_test/phone_international/tests/src/Kernel/PhoneInternationalItemTest.php
-------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------
 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\entity_test\Entity\EntityTest.
-------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/data/phpcs_test/phone_international/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------
 40 | WARNING | Line exceeds 80 characters; contains 92 characters
 41 | WARNING | Line exceeds 80 characters; contains 142 characters
 45 | WARNING | Line exceeds 80 characters; contains 92 characters
 52 | WARNING | Line exceeds 80 characters; contains 278 characters
 68 | WARNING | Line exceeds 80 characters; contains 86 characters
----------------------------------------------------------------------

Time: 468ms; Memory: 12MB
πŸ› Bug report
Status

Fixed

Version

3.3

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Andrii Momotov

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024