* Adds php compatibility range for phpcs

* Change minimun version to 5.2
This commit is contained in:
Jonathan Belcher 2018-10-24 09:09:33 -04:00 committed by GitHub
parent 5b0084a23c
commit 812d72dd9f
1 changed files with 3 additions and 0 deletions

View File

@ -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" />