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

Command icon 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

Indrapatil created an issue. See original summary.

indrapatil’s picture

Status: Active » Needs work
indrapatil’s picture

indrapatil’s picture

Assigned: indrapatil » Unassigned
Status: Needs work » Needs review
indrapatil’s picture

Title: Fix the coding standards » Fix the issues reported by phpcs
avpaderno’s picture

Title: Fix the issues reported by phpcs » Fix the warnings/errors reported by PHP_CodeSniffer
Version: 1.0.1 » 1.x-dev
mably’s picture

Status: Needs review » Reviewed & tested by the community

mably’s picture

Version: 1.x-dev » 2.x-dev
Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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