Adds php compatibility range for phpcs (https://github.com/woocommerce/woocommerce-admin/pull/618)
* Adds php compatibility range for phpcs * Change minimun version to 5.2
This commit is contained in:
parent
5b0084a23c
commit
812d72dd9f
|
@ -15,6 +15,9 @@
|
||||||
|
|
||||||
<!-- Rules -->
|
<!-- Rules -->
|
||||||
<rule ref="WooCommerce-Core" />
|
<rule ref="WooCommerce-Core" />
|
||||||
|
|
||||||
|
<!-- Test PHP Compatibility for version >= 5.2 -->
|
||||||
|
<config name="testVersion" value="5.2-"/>
|
||||||
<rule ref="PHPCompatibility">
|
<rule ref="PHPCompatibility">
|
||||||
<exclude name="PHPCompatibility.PHP.NewFunctions.hash_equalsFound" />
|
<exclude name="PHPCompatibility.PHP.NewFunctions.hash_equalsFound" />
|
||||||
<exclude name="PHPCompatibility.PHP.NewInterfaces.jsonserializableFound" />
|
<exclude name="PHPCompatibility.PHP.NewInterfaces.jsonserializableFound" />
|
||||||
|
|
Loading…
Reference in New Issue