We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a question regarding this part of the code https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src/Runner.php#L223 It will return 1 even if all errors are resolved which later will be set as exit code here https://github.com/squizlabs/PHP_CodeSniffer/blob/master/bin/phpcbf#L19 Everything which is not 0 considered to be error code. But in that case it fixed everything should it return 0 instead ?
The text was updated successfully, but these errors were encountered:
Duplicate of #1359
Also see: #1818 (comment)
A revision of the exit codes in on the roadmap for PHPCS 4.x. See #2898
Sorry, something went wrong.
Thank you, couldn't find it in issues.
No branches or pull requests
I have a question regarding this part of the code
https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src/Runner.php#L223
It will return 1 even if all errors are resolved which later will be set as exit code here
https://github.com/squizlabs/PHP_CodeSniffer/blob/master/bin/phpcbf#L19
Everything which is not 0 considered to be error code.
But in that case it fixed everything should it return 0 instead ?
The text was updated successfully, but these errors were encountered: