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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Describe the bug
In the case of stdin, the exit code always seems to be 1.
Is this behavior a bug?
Code sample
<?php function dummy() { return "dummy"; }
Custom ruleset
None
To reproduce
$ phpcbf --version PHP_CodeSniffer version 3.6.0 (stable) by Squiz (http://www.squiz.net) $ cat sample.php <?php function dummy() { return "dummy"; } $ cat sample.php | phpcbf <?php function dummy() { return "dummy"; } $ echo $? 1
The text was updated successfully, but these errors were encountered:
Duplicate of #1359, #2954, #3057. Also see #1818 (comment), This is on the roadmap for PHPCS 4.0 as per #2898.
Sorry, something went wrong.
Thanks reply. This seems to be a duplicate issue, so I will close my issue.
No branches or pull requests
Describe the bug
In the case of stdin, the exit code always seems to be 1.
Is this behavior a bug?
Code sample
Custom ruleset
None
To reproduce
The text was updated successfully, but these errors were encountered: