-
Notifications
You must be signed in to change notification settings - Fork 40
Custom properties for VIPCS Sniffs
The behaviour of some sniffs can be changed by setting certain sniff properties in your ruleset. On this page you will find the properties used in the VIPCS sniff library which are available for customization.
For more information about changing sniff behaviour by customizing your ruleset and how on how to pass different types of values via the ruleset, please read the PHPCS Annotated ruleset wiki page.
As of PHPCS 3.3.0, a new format is supported for passing array properties to PHPCS from a custom ruleset. For details, please see the PHPCS 3.3.0 release notes.
VIPCS also uses a number of upstream PHPCS native sniffs. For a list of customizable sniff properties for these upstream sniffs, please see the PHPCS wiki page or the the WPCS wiki page.
On hold until https://github.com/Automattic/VIP-Coding-Standards/issues/234 is completed.