This repository has been archived by the owner on Nov 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
53 lines (48 loc) · 1.78 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
<?xml version="1.0"?>
<ruleset name="Laravel Development">
<description>Laravel Development</description>
<file>app</file>
<file>config</file>
<file>resources</file>
<file>routes</file>
<file>tests</file>
<exclude-pattern>database/</exclude-pattern>
<exclude-pattern>cache/</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<exclude-pattern>*.css</exclude-pattern>
<exclude-pattern>*.xml</exclude-pattern>
<exclude-pattern>*.blade.php</exclude-pattern>
<exclude-pattern>autoload.php</exclude-pattern>
<exclude-pattern>storage/</exclude-pattern>
<exclude-pattern>docs/</exclude-pattern>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>migrations*/</exclude-pattern>
<exclude-pattern>*/public/index.php</exclude-pattern>
<arg name="colors"/>
<arg value="p"/>
<ini name="memory_limit" value="128M"/>
<rule ref="PSR2"/>
<rule ref="Generic.Formatting.SpaceAfterNot" />
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="150"/>
<property name="ignoreComments" value="true" />
</properties>
</rule>
<rule ref="Generic.Strings.UnnecessaryStringConcat">
<properties>
<property name="allowMultiline" value="true" />
</properties>
</rule>
<rule ref="Squiz.Strings.ConcatenationSpacing">
<properties>
<property name="spacing" value="1" />
<property name="ignoreNewlines" value="true" />
</properties>
</rule>
<rule ref="Squiz.Strings.DoubleQuoteUsage" />
<rule ref="Generic.Commenting.DocComment">
<exclude name="Generic.Commenting.DocComment.MissingShort" />
</rule>
</ruleset>