-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
31 lines (28 loc) · 938 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
<?xml version="1.0"?>
<ruleset name="VALET-PLUS RULESET">
<description>Valet-plus coding standard</description>
<arg name="basepath" value="."/>
<arg name="colors" />
<arg value="snp" />
<!-- Define the sources to scan here -->
<file>./cli</file>
<rule ref="PSR2" >
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
<exclude name="PSR1.Classes.ClassDeclaration.MultipleClasses" />
</rule>
<!-- -->
<!-- Forbidden functions -->
<!-- -->
<rule ref="Generic.PHP.ForbiddenFunctions">
<properties>
<property name="forbiddenFunctions" type="array"
value="xdebug_break=>null,
eval=>null,
var_dump=>null,
print_r=>null" />
</properties>
</rule>
</ruleset>