woocommerce/phpcs.ruleset.xml

19 lines
668 B
XML
Raw Normal View History

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
<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>
2016-08-27 14:18:14 +00:00
</ruleset>