-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Excluding files doesn't work when using STDIN with a filename specified #1208
Comments
PHPCS has always assumed that if you are passing content directly to it, you want it checked no matter what the exclude rules are. I have changed this in 3.0 (due to request #733), but it is a serious backwards compatibility break so it wont be changed in the 2.x version. If you'd like to try out the current 3.0 RC release, you should find that it works as you expect. |
stdin
Sorry, it was working and I've realised it broke when the stdin-path feature was merged in from master. I've fixed it again now. |
Thanks! |
Excluding files doesn't work when using
stdin
Config:
Command:
And as a result, we got errors.
Is it a known bug? I would like to fix it
The text was updated successfully, but these errors were encountered: