-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpcs.xml
36 lines (29 loc) · 1.43 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
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
<description>The coding standard for PHP_CodeSniffer itself.</description>
<file>.</file>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>wordpress/*</exclude-pattern>
<arg name="parallel" value="8"/>
<arg value="n" />
<rule ref="WordPress">
<exclude name="WordPress.Files.FileName" />
<exclude name="Generic.WhiteSpace" />
<exclude name="PEAR.Functions.FunctionCallSignature" />
<exclude name="WordPress.WhiteSpace.ControlStructureSpacing" />
<exclude name="WordPress.WhiteSpace.OperatorSpacing" />
<exclude name="Squiz.Commenting.FunctionComment.Missing" />
<exclude name="Squiz.Commenting.ClassComment.Missing" />
<exclude name="Squiz.Commenting.FileComment.Missing" />
<exclude name="Squiz.Commenting.VariableComment.Missing" />
<exclude name="Squiz.Strings.ConcatenationSpacing" />
<exclude name="Squiz.Strings.DoubleQuoteUsage.NotRequired" />
<exclude name="Generic.Files.LineLength.TooLong" />
<exclude name="WordPress.PHP.YodaConditions.NotYoda" />
</rule>
<rule ref="PSR12">
<exclude name="PSR12.Operators.OperatorSpacing" />
<exclude name="PSR1.Methods.CamelCapsMethodName" />
</rule>
<rule ref="Modernize" />
</ruleset>