-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
phpcs.xml.dist
33 lines (25 loc) · 885 Bytes
/
phpcs.xml.dist
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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
<arg value="psv"/>
<arg name="extensions" value="php"/>
<file>src</file>
<file>tests</file>
<exclude-pattern>/vendor/</exclude-pattern>
<rule ref="PSR12"/>
<rule ref="PSR12">
<exclude name="PSR12.Classes.ClassInstantiation.MissingParentheses" />
</rule>
<rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
<exclude-pattern>/src/Input/Command.php</exclude-pattern>
<exclude-pattern>/src/Input/Parser.php</exclude-pattern>
</rule>
<rule ref="PSR12.Properties.ConstantVisibility.NotFound">
<exclude-pattern>/src/</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>/tests/</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
<exclude-pattern>/tests/</exclude-pattern>
</rule>
</ruleset>