Closed simonsan closed 1 year ago
@simonsan Good catch! Would you like to submit a PR to fix this ? (the CLI documentation)
FYI: For the Wiki, I've just fixed it: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage
@simonsan Good catch! Would you like to submit a PR to fix this ? (the CLI documentation)
Done
FYI: the fix for this issue is included in today's PHP_CodeSniffer 3.8.0 release.
As per #3932, development on PHP_CodeSniffer will continue in the PHPCSStandards/PHP_CodeSniffer repository. If you want to stay informed, you may want to start "watching" that repo (or watching releases from that repo).
Describe the bug
The documentation says, that a filter parameter can have one of the values
{gitmodified, gitstaged}
.Code sample
To reproduce
Steps to reproduce the behavior:
Expected behaviour
The documentation states valid values. In this case:
{GitModified, GitStaged}
. Or the input value is converted to PascalCase.Please confirm:
master
branch of PHP_CodeSniffer.