-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.phpcs.xml.dist
More file actions
26 lines (24 loc) · 1.03 KB
/
.phpcs.xml.dist
File metadata and controls
26 lines (24 loc) · 1.03 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
<?xml version="1.0"?>
<ruleset name="CS">
<description>PHPCS MslsMenu configuration</description>
<config name="testVersion" value="7.4-"/>
<exclude-pattern>bin/*</exclude-pattern>
<exclude-pattern>tests/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<arg value="ps"/>
<arg name="colors"/>
<arg name="parallel" value="100"/>
<arg name="extensions" value="php"/>
<arg name="cache" value=".phpcs.cache"/>
<rule ref="WordPress">
<exclude name="Generic.Commenting.DocComment.MissingShort" />
<exclude name="Squiz.Commenting.FileComment.Missing" />
<exclude name="Squiz.Commenting.ClassComment.Missing" />
<exclude name="Squiz.Commenting.FunctionComment.Missing" />
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment" />
<exclude name="WordPress.Files.FileName" />
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.Found" />
</rule>
<rule ref="WordPress-Extra"/>
<rule ref="WordPress-Docs"/>
</ruleset>