-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.php-style.xml
38 lines (29 loc) · 1.59 KB
/
.php-style.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
37
38
<?xml version="1.0" ?>
<ruleset name="NextLevelDigital">
<config name="installed_paths" value="vendor/wp-coding-standards/wpcs" />
<description>The "Next Level Digital" Standard</description>
<include-pattern>app</include-pattern>
<include-pattern>index.php</include-pattern>
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
<rule ref="WordPress.PHP.YodaConditions"/>
<rule ref="Generic.Classes.OpeningBraceSameLine"/>
<rule ref="Squiz.NamingConventions.ValidVariableName"/>
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie"/>
<rule ref="PSR12">
<include-pattern>app</include-pattern>
<include-pattern>index.php</include-pattern>
<exclude name="Generic.Files.LineLength.TooLong" />
<exclude name="PSR1.Files.SideEffects.FoundWithSymbols" />
<exclude name="PSR2.Methods.FunctionCallSignature.Indent" />
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact"/>
<exclude name="PSR2.Classes.ClassDeclaration.OpenBraceNewLine"/>
<exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine"/>
<exclude name="PSR12.ControlStructures.ControlStructureSpacing.LineIndent"/>
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine"/>
<exclude name="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
<exclude name="PSR12.ControlStructures.ControlStructureSpacing.FirstExpressionLine"/>
<exclude name="PSR12.ControlStructures.ControlStructureSpacing.CloseParenthesisLine"/>
</rule>
</ruleset>