-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
39 lines (33 loc) · 1.12 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
<?xml version="1.0"?>
<ruleset name="PSR2">
<description>Checking standar</description>
<rule ref="PSR2"></rule>
<file>app</file>
<file>bootstrap</file>
<file>config</file>
<file>routes</file>
<file>tests</file>
<file>resources</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>*/vendor/*</exclude-pattern>
<exclude-pattern>*/migrations/*</exclude-pattern>
<!-- Custom rules -->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="300"/>
<property name="absoluteLineLimit" value="0"/>
</properties>
</rule>
<!-- Command line values -->
<arg name="colors"/>
<arg value="p"/>
<!-- Custom php.ini settings -->
<ini name="memory_limit" value="128M"/>
</ruleset>