Update phpcs.xml

This commit is contained in:
Bogdan Rapaić 2020-03-19 20:43:26 +01:00 committed by GitHub
parent 6da8688ede
commit c5f7bee413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,8 +13,8 @@
<exclude-pattern>*/.github/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<config name="minimum_supported_wp_version" value="4.6" />
<config name="testVersion" value="5.4-"/>
<config name="minimum_supported_wp_version" value="4.0" />
<config name="testVersion" value="5.0-"/>
<rule ref="PSR1.Classes.ClassDeclaration"/>
<rule ref="PSR2.Methods.FunctionClosingBrace"/>
@ -38,16 +38,6 @@
</properties>
</rule>
<rule ref="PHPCompatibility">
<exclude name="PHPCompatibility.Constants.NewConstants.t_finallyFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_yieldFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_ellipsisFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_powFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_pow_equalFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_spaceshipFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_coalesceFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_coalesce_equalFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_yield_fromFound"/>
</rule>
</ruleset>