-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
61 lines (51 loc) · 2.06 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0"?>
<ruleset name="Themeisle">
<file>./</file>
<exclude-pattern>./vendor</exclude-pattern>
<exclude-pattern>./node_modules</exclude-pattern>
<exclude-pattern>./old</exclude-pattern>
<exclude-pattern>./tests/sample_products</exclude-pattern>
<exclude-pattern>./assets/js/build</exclude-pattern>
<exclude-pattern>./bin</exclude-pattern>
<rule ref="Themeisle"/>
<rule ref="PHPCompatibility.FunctionDeclarations.NewReturnTypeDeclarations.voidFound">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.FunctionComment.Missing">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.FileComment.Missing">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.ClassComment.Missing">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.ClassComment.SpacingAfter">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.FunctionComment.MissingParamTag">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="Generic.Commenting.DocComment.MissingShort">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.VariableComment.Missing">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag.Missing">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="WordPress.WhiteSpace.PrecisionAlignment.Found">
<exclude-pattern>src/*</exclude-pattern>
</rule>
<rule ref="WordPress.NamingConventions.ValidHookName.UseUnderscores">
<exclude-pattern>src/*</exclude-pattern>
</rule>
<arg name="extensions" value="php"/>
<arg value="sp"/>
<arg name="basepath" value="./" />
<arg name="parallel" value="20"/>
</ruleset>