-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
30 lines (26 loc) · 1.05 KB
/
phpcs.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0"?>
<ruleset name="Ruleset">
<file>.</file>
<exclude-pattern>\.git/*</exclude-pattern>
<exclude-pattern>assets/*</exclude-pattern>
<exclude-pattern>assets-dev/*</exclude-pattern>
<exclude-pattern>lang/*</exclude-pattern>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<arg name="basepath" value="."/>
<arg name="parallel" value="8"/>
<arg name="extensions" value="php"/>
<arg value="s"/>
<rule ref="PHPCompatibilityWP"/>
<rule ref="WordPress-Core"/>
<rule ref="WordPress-Extra"/>
<rule ref="WordPress-VIP-Go">
<exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
<exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments" />
<exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
<exclude name="Universal.Arrays.DisallowShortArraySyntax.Found" />
</rule>
<config name="testVersion" value="8.1-"/>
<config name="minimum_supported_wp_version" value="6.2"/>
<config name="ignore_warnings_on_exit" value="true"/>
</ruleset>