Problem/Motivation
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig /var/www/html/VB/drupal-10.1.0/modules/contrib/fuzzy_key_provider/
FILE: /var/www/html/VB/drupal-10.1.0/modules/contrib/fuzzy_key_provider/src/Plugin/KeyProvider/FuzzyConfigKeyProvider.php
------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------
9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\key\Plugin\KeyPluginFormInterface.
121 | ERROR | [x] list(...) is forbidden, use [...] instead.
Steps to reproduce
Run this command
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig /var/www/html/VB/drupal-10.1.0/modules/contrib/fuzzy_key_provider/
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork fuzzy_key_provider-3372191
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
indrapatil commentedComment #3
indrapatil commentedComment #5
indrapatil commentedComment #6
indrapatil commentedComment #7
avpadernoComment #8
mably commentedComment #10
mably commented