forked from mathieutu/laravel-json-syncer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
54 lines (43 loc) · 1.63 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
49
50
51
52
53
54
<?xml version="1.0"?>
<ruleset name="Custom Standard">
<description>MathieuTu CodeStyle standard</description>
<file>./src</file>
<file>./tests</file>
<arg name="report" value="full"/>
<arg name="report" value="summary"/>
<arg value="sp"/>
<!--<arg value="q"/>-->
<rule ref="PSR2">
<exclude name="Generic.Formatting.DisallowMultipleStatements.SameLine"/>
<exclude name="PSR2.Methods.FunctionCallSignature.MultipleArguments"/>
<exclude name="PSR2.ControlStructures.ElseIfDeclaration.NotAllowed"/>
</rule>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
<severity>100</severity>
<properties>
<property name="ignoreBlankLines" value="false"/>
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.StartFile">
<severity>100</severity>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EndFile">
<severity>100</severity>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines">
<severity>100</severity>
</rule>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpaceBeforeCloseBrace">
<severity>100</severity>
</rule>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing.NoLineAfterClose">
<severity>100</severity>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="150"/> <!-- warning -->
<property name="absoluteLineLimit" value="200"/> <!-- error -->
</properties>
</rule>
</ruleset>