19 lines
668 B
XML
19 lines
668 B
XML
<?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 -->
|
|
|
|
<description>WooCommerce dev PHP_CodeSniffer ruleset.</description>
|
|
|
|
<rule ref="WordPress">
|
|
<exclude name="WordPress.VIP.RestrictedFunctions" />
|
|
<exclude name="WordPress.VIP.OrderByRand" />
|
|
</rule>
|
|
|
|
<rule ref="WordPress.VIP.ValidatedSanitizedInput">
|
|
<properties>
|
|
<property name="customSanitizingFunctions" type="array" value="wc_clean" />
|
|
</properties>
|
|
</rule>
|
|
</ruleset>
|