2016-08-27 14:18:14 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset name="WordPress Coding Standards">
|
|
|
|
<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
|
|
|
|
<!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml -->
|
|
|
|
|
2017-09-27 16:07:41 +00:00
|
|
|
<description>WooCommerce dev PHP_CodeSniffer ruleset.</description>
|
2016-08-27 14:18:14 +00:00
|
|
|
|
2017-10-20 17:24:56 +00:00
|
|
|
<rule ref="WordPress">
|
|
|
|
<exclude name="WordPress.VIP.RestrictedFunctions" />
|
|
|
|
<exclude name="WordPress.VIP.OrderByRand" />
|
|
|
|
</rule>
|
2017-10-09 17:07:09 +00:00
|
|
|
|
|
|
|
<rule ref="WordPress.VIP.ValidatedSanitizedInput">
|
|
|
|
<properties>
|
|
|
|
<property name="customSanitizingFunctions" type="array" value="wc_clean" />
|
|
|
|
</properties>
|
|
|
|
</rule>
|
2016-08-27 14:18:14 +00:00
|
|
|
</ruleset>
|