WordPress-VIP issues display when config is set to "WordPress"
sfgarza opened this issue · 4 comments
sfgarza commented
I have my codeclimate config set up like this
phpcodesniffer:
enabled: true
config:
standard: "WordPress"
But WordPress-VIP issues are showing up codeclimate
bhubbard commented
+1
dblandin commented
Hey @sfgarza,
Happy to hear that you're checking out the new Wordpress support!
As it's mentioned in the WordPress-Coding-Standards README, the WordPress standard includes the complete set with all of the sniffs in the project. This includes WordPress-Core, Wordpress-Docs, Wordpress-Extra, and Wordpress-VIP.
If you don't want Wordpress-VIP issues, you should choose another standard option.
This can be a single entry, like "Wordpress-Core", or a comma-separate list, omitting "Wordpress-VIP":
phpcodesniffer:
enabled: true
config:
standard: "WordPress-Core,Wordpress-Docs,Wordpress-Extra"dblandin commented
Going to close this issue for now. Let me know if you have any more questions. Thanks!
sfgarza commented
Got it. That makes sense. Thanks!