doctrine / doctrine/coding-standard
phpcs: ERROR: Referenced sniff "SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace" does not exist
Open
- 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
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