-
Notifications
You must be signed in to change notification settings - Fork 19
/
phpcs.xml
32 lines (25 loc) · 1010 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
32
<?xml version="1.0"?>
<ruleset name="PSR2">
<description>The PSR2 coding standard.</description>
<rule ref="PSR2"/>
<rule ref="PSR1.Methods.CamelCapsMethodName">
<exclude-pattern>*/**/tests</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>*/**/tests</exclude-pattern>
<exclude-pattern>*/**/src/Console/InstallCommand.php</exclude-pattern>
<exclude-pattern>*/**/src/*ServiceProvider.php</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
<exclude-pattern>*/**/tests</exclude-pattern>
</rule>
<rule ref="Generic.PHP.ForbiddenFunctions">
<properties>
<property name="forbiddenFunctions" type="array" value="dd=>NULL,var_dump=>NULL,dump=>NULL"/>
</properties>
</rule>
<file>src/</file>
<file>tests/</file>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>node_modules/</exclude-pattern>
</ruleset>