-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs.xml
40 lines (33 loc) · 1.66 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
<?xml version="1.0"?>
<ruleset name="PHP Custom Standard" namespace="">
<description>
A custom coding standard
</description>
<file>./src</file>
<exclude-pattern>*/override/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/.idea/*</exclude-pattern>
<exclude-pattern>*/Example*</exclude-pattern>
<arg name="report" value="full"/>
<arg name="colors"/>
<arg value="sp"/>
<ini name="memory_limit" value="64M"/>
<rule ref="PSR2">
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
<exclude name="PSR1.Files.SideEffects.FoundWithSymbols" />
<exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed" />
<exclude name="Generic.Files.LineLength.TooLong" />
<exclude name="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma" />
<exclude name="Generic.WhiteSpace.DisallowTabIndent.TabsUsed" />
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace" />
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis" />
<exclude name="Squiz.Scope.MethodScope.Missing" />
<exclude name="Squiz.WhiteSpace.ScopeClosingBrace.Indent" />
<exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine" />
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword" />
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceBeforeSemicolon" />
</rule>
</ruleset>