Closed rkit closed 7 years ago
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.
due to request #733
I use this linter for the Atom
If you'd like to try out the current 3.0 RC release, you should find that it works as you expect.
I tried with 3.0.0RC1 and the result is the same, I have got errors.
PHP_CodeSniffer version 3.0.0RC1 (beta) by Squiz (http://www.squiz.net)
I tried with 3.0.0RC1 and the result is the same, I have got errors.
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