mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-08-30 02:32:07 +08:00
Update phpcs.xml
This commit is contained in:
parent
c5f7bee413
commit
ea7a02a370
1 changed files with 0 additions and 25 deletions
25
phpcs.xml
25
phpcs.xml
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue