18 lines
645 B
XML
18 lines
645 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.get_term_by_get_term_by" />
|
|
</rule>
|
|
|
|
<rule ref="WordPress.VIP.ValidatedSanitizedInput">
|
|
<properties>
|
|
<property name="customSanitizingFunctions" type="array" value="wc_clean" />
|
|
</properties>
|
|
</rule>
|
|
</ruleset>
|