-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
32 lines (28 loc) · 1.01 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
32 lines (28 loc) · 1.01 KB
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
<?xml version="1.0"?>
<ruleset name="TOCflow">
<description>WordPress PHP coding standards for the TOCflow plugin.</description>
<file>.</file>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/build/*</exclude-pattern>
<exclude-pattern>*/languages/*</exclude-pattern>
<arg name="extensions" value="php"/>
<arg name="basepath" value="."/>
<arg name="parallel" value="4"/>
<arg value="sp"/>
<config name="text_domain" value="tocflow"/>
<config name="minimum_supported_wp_version" value="6.4"/>
<config name="testVersion" value="7.4-"/>
<rule ref="WordPress">
<exclude name="WordPress.Files.FileName"/>
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning"/>
<exclude name="Universal.Operators.DisallowStandalonePostIncrementDecrement"/>
</rule>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="tocflow"/>
</property>
</properties>
</rule>
</ruleset>