forked from krlove/code-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
25 lines (25 loc) · 1.02 KB
/
phpcs.xml
File metadata and controls
25 lines (25 loc) · 1.02 KB
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
<?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>
<config name="testVersion" value="7.4"/>
</ruleset>