Update phpcs.xml

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

View file

@ -13,31 +13,6 @@
<exclude-pattern>*/.github/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<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"/>
<rule ref="WordPress">
<exclude name="WordPress.Files.FileName"/>
<exclude name="WordPress.NamingConventions.ValidVariableName"/>
<exclude name="WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition"/>
</rule>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="mainwp-child" />
</properties>
</rule>
<rule ref="WordPress.Arrays.MultipleStatementAlignment">
<properties>
<property name="alignMultilineItems" value="!=100"/>
<property name="exact" value="false" phpcs-only="true"/>
</properties>
</rule>
</ruleset>