-
Notifications
You must be signed in to change notification settings - Fork 18
/
phpcs.xml
47 lines (37 loc) · 1.42 KB
/
phpcs.xml
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
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<ruleset name="">
<description>ThemeIsle ruleset</description>
<rule ref="WordPress-VIP-Go" >
<exclude name="WordPress.WP.GlobalVariablesOverride.Prohibited"/>
</rule>
<rule ref="WordPress-Core" />
<rule ref="WordPress-Docs" />
<rule ref="WordPress-Extra">
<!-- Forget about file names -->
<exclude name="WordPress.Files.FileName"/>
<exclude name="WordPress.PHP.YodaConditions.NotYoda"/>
<exclude name="Squiz.Commenting"/>
<exclude name="Generic.Commenting"/>
</rule>
<config name="testVersion" value="5.6-"/>
<rule ref="PHPCompatibility" />
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" value="themeisle-companion" />
</properties>
</rule>
<arg name="extensions" value="php"/>
<arg value="s"/>
<file>.</file>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>tests/*</exclude-pattern>
<exclude-pattern>Gruntfile.js</exclude-pattern>
<exclude-pattern>dist</exclude-pattern>
<exclude-pattern>cypress</exclude-pattern>
<exclude-pattern>obfx_modules/companion-legacy/</exclude-pattern>
<exclude-pattern>dist/*</exclude-pattern>
<exclude-pattern>artifact/*</exclude-pattern>
<exclude-pattern>assets/*</exclude-pattern>
<arg name="parallel" value="20"/>
</ruleset>