Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels