You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Uncaught Error: Class "\PHP_CodeSniffer\Filters\gitmodified" not found in phar:///usr/local/bin/phpcs/src/Files/FileList.php:3
Stack trace:
#0 phar:///usr/local/bin/phpcs/src/Files/FileList.php(3): PHP_CodeSniffer\Files\FileList->addFile()#1 phar:///usr/local/bin/phpcs/src/Runner.php(3): PHP_CodeSniffer\Files\FileList->__construct()#2 phar:///usr/local/bin/phpcs/src/Runner.php(3): PHP_CodeSniffer\Runner->run()#3 /usr/local/bin/phpcs(6): PHP_CodeSniffer\Runner->runPHPCS()#4 {main}
thrown in phar:///usr/local/bin/phpcs/src/Files/FileList.php on line 3
Expected behaviour
The documentation states valid values. In this case: {GitModified, GitStaged}. Or the input value is converted to PascalCase.
Please confirm:
I have searched the issue list and am not opening a duplicate issue.
I confirm that this bug is a bug in PHP_CodeSniffer and not in one of the external standards.
I have verified the issue still exists in the master branch of PHP_CodeSniffer.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: