New issue
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
PHPCBF no-patch option shows an error when there are no fixable violations in a file #401
Labels
Comments
When I run phpcbf over a file with 0 fixable violations, the output I get is:
How are you running phpcbf to make it generate that error? |
I'm using this command: phpcbf --standard=/path/to/project/vendor/aik099/coding-standard/CodingStandard -wps --no-patch --encoding=UTF-8 --extensions=php -d memory_limit=-1 ../../modules/custom/constants.php The <?php
// product types.
define('PRODUCT_TYPE_RETAIL', 1);
define('PRODUCT_TYPE_MANUFACTURED', 10); The output is the same:
|
Thanks for providing that. It's the |
gsherwood
changed the title
Missing space in "phpcbf" output
PHPCBF no-patch option shows an error when there are no fixable violations on a file
Jan 6, 2015
gsherwood
changed the title
PHPCBF no-patch option shows an error when there are no fixable violations on a file
PHPCBF no-patch option shows an error when there are no fixable violations in a file
Jan 6, 2015
Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is the fragment of
phpcbf
output:I guess when 0 fixing passes were made, then
[made 0 passes]...
isn't printed andERROR
word has no space before it andremaining
word.The text was updated successfully, but these errors were encountered: