forked from ampache/ampache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpcs.xml
48 lines (48 loc) · 2.38 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
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0"?>
<ruleset>
<rule ref="PSR2">
<exclude name="Squiz.WhiteSpace.ScopeKeywordSpacing"/>
<exclude name="Squiz.WhiteSpace.ScopeClosingBrace"/>
<exclude name="Squiz.Scope.MethodScope"/>
<exclude name="Squiz.Functions.LowercaseFunctionKeywords"/>
<exclude name="Squiz.ControlStructures.LowercaseDeclaration"/>
<exclude name="Squiz.ControlStructures.ControlSignature"/>
<exclude name="PSR2.Namespaces.UseDeclaration"/>
<exclude name="PSR2.Methods.MethodDeclaration"/>
<exclude name="PSR2.Methods.FunctionCallSignature"/>
<exclude name="PSR2.Files.EndFileNewline"/>
<exclude name="PSR2.ControlStructures.SwitchDeclaration"/>
<exclude name="PSR2.ControlStructures.ElseIfDeclaration"/>
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>
<exclude name="PSR2.ControlStructures.ControlStructureSpacing"/>
<exclude name="PSR2.Classes.PropertyDeclaration"/>
<exclude name="PSR1.Files.SideEffects"/>
<exclude name="PSR1.Classes.ClassDeclaration"/>
<exclude name="PEAR.Functions.ValidDefaultValue"/>
<exclude name="Generic.WhiteSpace.ScopeIndent"/>
<exclude name="Generic.PHP.LowerCaseKeyword"/>
<exclude name="Generic.PHP.LowerCaseConstant"/>
<exclude name="Generic.Functions.FunctionCallArgumentSpacing"/>
<exclude name="Generic.Formatting.DisallowMultipleStatements"/>
<exclude name="Generic.Files.LineLength"/>
<exclude name="Generic.Files.LineEndings"/>
<exclude name="Generic.ControlStructures.InlineControlStructure"/>
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine"/>
</rule>
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/>
<rule ref="Squiz.Operators.ValidLogicalOperators"/>
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
<file>.</file>
<exclude-pattern>*client/*</exclude-pattern>
<exclude-pattern>*newclient/*</exclude-pattern>
<exclude-pattern>*foam/*</exclude-pattern>
<exclude-pattern>*ample/*</exclude-pattern>
<exclude-pattern>*templates/*</exclude-pattern>
<exclude-pattern>*components/*</exclude-pattern>
<exclude-pattern>*vendor/*</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<exclude-pattern>*.min.css</exclude-pattern>
</ruleset>