forked from urbanSpatial/LetsPlanOrg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpcs.xml
32 lines (27 loc) · 945 Bytes
/
.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
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<!-- See list of available standards: https://github.com/squizlabs/PHP_CodeSniffer/tree/master/src/Standards -->
<rule ref="PSR1"/>
<rule ref="PSR2"/>
<rule ref="PSR12"/>
<file>app</file>
<file>bootstrap</file>
<file>config</file>
<file>database</file>
<file>resources</file>
<file>routes</file>
<file>tests</file>
<exclude-pattern>bootstrap/cache/*</exclude-pattern>
<exclude-pattern>bootstrap/autoload.php</exclude-pattern>
<exclude-pattern>*.blade.php</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<!-- Show progression -->
<arg value="p"/>
<!-- Tweak some rules -->
<rule ref="PSR1.Classes.ClassDeclaration">
<exclude-pattern>/database/migrations/*</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength">
<exclude-pattern>*</exclude-pattern>
</rule>
</ruleset>