-
-
Notifications
You must be signed in to change notification settings - Fork 461
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
Exclude patterns in .phpcs.xml.dist not honored #2433
Comments
|
I'm upgrading from 2.1, and I'll follow up with that project. Thanks! |
I think the specific issue is that I didn't realize/remember that specifying the standard ( |
@mackensen Ah, I missed that you were running with And for anyone else trying to understand this:
|
Bug Description
I'm upgrading an older plugin project to use the current versions of this library:
I'm running
vendor/bin/phpcs -ps . --standard=WordPress
from the root of my plugin folder. The command runs out of memory because it traversesnode_modules
. I'm using the samplephpcs.xml.dist.sample
with the standard exclusions that should prevent this behavior:If I run the command specifying the exclusions it runs as expected without the memory error:
vendor/bin/phpcs -ps . --standard=WordPress --ignore=vendor,node_modules
.Environment
Tested Against
develop
Branch?develop
branch of WordPressCS.The text was updated successfully, but these errors were encountered: