/
phpcs.xml
29 lines (25 loc) · 949 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
<?xml version="1.0"?>
<ruleset name="brand0n.gg Standard" namespace="App\CS\Standard">
<description>The phpcs coding standard for the brand0n.gg project.</description>
<!-- Only process .php files. -->
<arg name="extensions" value="php" />
<!-- Show all errors. -->
<arg name="error-severity" value="1" />
<!-- Hide warnings. -->
<arg name="warning-severity" value="0" />
<arg name="colors" />
<arg value="sp" />
<!-- Ignore vendor folder. -->
<exclude-pattern>vendor</exclude-pattern>
<!-- Ignore boostrap/cache folder -->
<exclude-pattern>bootstrap/cache</exclude-pattern>
<!-- Ignore database migrations -->
<exclude-pattern>database</exclude-pattern>
<!-- Ignore stored files -->
<exclude-pattern>storage</exclude-pattern>
<!-- Ignore blade templates -->
<exclude-pattern>*.blade.php</exclude-pattern>
<!-- Exclude tests -->
<exclude-pattern>tests</exclude-pattern>
<rule ref="PSR2" />
</ruleset>