-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
42 lines (37 loc) · 1.87 KB
/
Copy pathphpcs.xml
File metadata and controls
42 lines (37 loc) · 1.87 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
<?xml version="1.0"?>
<ruleset name="OWCGravityFormsPdcLeges">
<arg name="extensions" value="php"/>
<exclude-pattern>.github/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<arg name="parallel" value="8"/>
<arg name="colors"/>
<file>.</file>
<arg name="cache"/>
<arg name="basepath" value="./"/>
<arg value="ps"/>
<config name="minimum_supported_wp_version" value="6.7"/>
<rule ref="WordPress">
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
<exclude name="Squiz.Commenting.FileComment.Missing"/>
<exclude name="Squiz.Strings.DoubleQuoteUsage.NotRequired"/>
<exclude name="Generic.Classes.OpeningBraceSameLine.BraceOnNewLine"/>
<exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine"/>
<exclude name="Squiz.Commenting.FunctionComment.Missing"/>
<exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed"/>
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar"/>
<exclude name="Generic.Arrays.DisallowShortArraySyntax.Found"/>
<exclude name="Generic.Commenting.DocComment.MissingShort"/>
<exclude name="WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid"/>
<exclude name="Squiz.Commenting.VariableComment.Missing"/>
<exclude name="Squiz.Commenting.InlineComment.SpacingBefore"/>
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment"/>
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag"/>
<exclude name="Squiz.Commenting.FunctionComment.ParamCommentFullStop"/>
<exclude name="Squiz.Commenting.FunctionComment.ThrowsNoFullStop"/>
</rule>
<rule ref="WordPress-Docs"/>
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
<rule ref="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine"/>
<rule ref="Squiz.Classes.ClassDeclaration.OpenBraceNewLine"/>
</ruleset>