-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
phpcs.xml.dist
35 lines (30 loc) · 1.11 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
31
32
33
34
35
<?xml version="1.0"?>
<ruleset name="WP Multi Network Coding Standards">
<arg name="extensions" value="php" />
<arg name="colors" />
<arg name="parallel" value="16" />
<arg value="s" />
<rule ref="WordPress-Core">
<exclude name="WordPress.WP.GlobalVariablesOverride.Prohibited" />
<exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
<exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
<exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments" />
</rule>
<rule ref="WordPress-Extra"/>
<rule ref="WordPress-Docs" />
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="wp-multi-network" />
</property>
<property name="check_translator_comments" value="true" />
</properties>
</rule>
<rule ref="PHPCompatibilityWP" />
<config name="testVersion" value="5.6-" />
<file>.</file>
<!-- Exclude directories we don't need to check. -->
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset>