-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathphpcs.xml
More file actions
36 lines (29 loc) · 1.12 KB
/
Copy pathphpcs.xml
File metadata and controls
36 lines (29 loc) · 1.12 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
26
27
28
29
30
31
32
33
34
35
36
<?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">
<element key="dd" value="NULL"/>
<element key="var_dump" value="NULL"/>
<element key="dump" value="NULL"/>
</property>
</properties>
</rule>
<file>src/</file>
<file>tests/</file>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>node_modules/</exclude-pattern>
</ruleset>