-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpcs.xml
23 lines (19 loc) · 887 Bytes
/
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
<?xml version="1.0"?>
<ruleset name="Coding standards">
<description>Coding standards</description>
<arg name="colors"/>
<arg name="extensions" value="php,css"/>
<file>./src/plugin/</file>
<file>./tests/plugin/</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>schemas/*</exclude-pattern>
<rule ref="WordPress">
<exclude name="Squiz.Commenting.ClassComment.Missing"/>
<exclude name="Squiz.Commenting.FileComment.Missing"/>
<exclude name="Squiz.Commenting.FileComment.MissingPackageTag"/>
<exclude name="Squiz.Commenting.FunctionComment.Missing"/>
<exclude name="Squiz.Commenting.VariableComment.Missing"/>
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar"/>
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed"/>
</rule>
</ruleset>