doctrine / doctrine/coding-standard

phpcs: ERROR: Referenced sniff "SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace" does not exist

Open
#216 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
320
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Why my phpcs print :

"phpcs: ERROR: Referenced sniff "SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace" does not exist Run "phpcs --help" for usage information"

my errors when configured phpcs or error in the package?

Contributor guide

Open the contributing guide

Research direction

Start by checking the phpcs configuration and installed coding-standard package for the referenced SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace sniff. Reproduce the reported phpcs error, then verify whether the configured sniff exists in the installed package and whether the command completes without the missing-sniff error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.