-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpcs.xml
32 lines (29 loc) · 1.11 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
32
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<description>Coding standard for file handler library</description>
<file>src</file>
<file>tests</file>
<exclude-pattern>*/migrations/*</exclude-pattern>
<arg value="np"/>
<arg name="basepath" value="."/>
<arg name="colors"/>
<arg name="parallel" value="75"/>
<arg value="np"/>
<rule ref="PSR12"/>
<rule ref="Generic.PHP.ForbiddenFunctions">
<properties>
<property name="forbiddenFunctions" type="array">
<element key="sizeof" value="count"/>
<element key="delete" value="unset"/>
<element key="print" value="echo"/>
<element key="is_null" value="null"/>
<element key="create_function" value="null"/>
<element key="var_dump" value="null"/>
<element key="dd" value="null"/>
<element key="var_export" value="null"/>
<element key="print_r" value="null"/>
<element key="die" value="null"/>
</property>
</properties>
</rule>
</ruleset>