-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs.xml
31 lines (30 loc) · 1.19 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
<?xml version="1.0"?>
<!-- Ruleset name -->
<ruleset name="Custom_PSR12">
<!-- Description -->
<description>Custom ruleset Based on PSR12</description>
<!-- Rule to be referenced (`PSR12`) -->
<rule ref="PSR12"/>
<!-- Specify extensions (.php) -->
<arg name="extensions" value="php"/>
<!--Color the result output -->
<arg name="colors"/> <!--Display progress (-p)-->
<!--Display violation rules in error information (-s)-->
<arg value="ps"/>
<!-- Directories to exclude from the check (for Laravel) -->
<exclude-pattern>/bootstrap/</exclude-pattern>
<exclude-pattern>/config/</exclude-pattern>
<exclude-pattern>/database/</exclude-pattern>
<exclude-pattern>/node_modules/</exclude-pattern>
<exclude-pattern>/public/</exclude-pattern>
<exclude-pattern>/resources/</exclude-pattern>
<exclude-pattern>/routes/</exclude-pattern>
<exclude-pattern>/storage/</exclude-pattern>
<exclude-pattern>/vendor/</exclude-pattern>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="255"/>
<property name="absoluteLineLimit" value="0"/>
</properties>
</rule>
</ruleset>