-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruleset.xml
More file actions
45 lines (36 loc) · 1.55 KB
/
ruleset.xml
File metadata and controls
45 lines (36 loc) · 1.55 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
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0"?>
<ruleset name="Nobel Prizes ruleset">
<description>Nobel Prizes rules for PHP CodeSniffer</description>
<rule ref="PHPCompatibilityWP" />
<rule ref="10up-Default">
<exclude name="Squiz.Commenting.FunctionComment.EmptyThrows"/>
<exclude name="Squiz.Commenting.FileComment.Missing"/>
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment"/>
<exclude name="Squiz.Commenting.ClassComment.Missing"/>
<exclude name="Squiz.Commenting.FunctionComment.Missing"/>
<exclude name="Generic.Commenting.DocComment.MissingShort"/>
<exclude name="Squiz.Commenting.FunctionComment.MissingParamName"/>
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamType"/>
<exclude name="WordPress.Security.EscapeOutput.ExceptionNotEscaped" />
<exclude name="Squiz.Commenting.VariableComment.Missing" />
<exclude name="Squiz.Commenting.FunctionComment.MissingParamType" />
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag" />
</rule>
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
<!-- Check for cross-version support for PHP 8.2 and higher. -->
<config name="testVersion" value="7.4-" />
<!-- Show progress -->
<arg value="p"/>
<!-- Show sniff name -->
<arg value="s"/>
<!-- Show colors -->
<arg name="colors"/>
<file>includes</file>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/dist/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/*\.(css|js)$</exclude-pattern>
</ruleset>