-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
42 lines (33 loc) · 1.14 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
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0"?>
<ruleset>
<rule ref="PSR12"/>
<file>./bin</file>
<file>./features</file>
<file>./spec</file>
<file>./src</file>
<exclude-pattern>*/ProjectServiceContainer.php</exclude-pattern>
<exclude-pattern>./src/InputLanguage/Markdown/Parser.php</exclude-pattern>
<!--
TODO tmp exclude awaiting phpcs 3.6.0
see https://github.com/squizlabs/PHP_CodeSniffer/issues/3167
-->
<rule ref="Generic.WhiteSpace.ScopeIndent.IncorrectExact">
<exclude-pattern>./src</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects">
<exclude-pattern>./src/Attribute</exclude-pattern>
</rule>
<rule ref="Squiz.WhiteSpace.ScopeClosingBrace">
<exclude-pattern>./src</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration">
<exclude-pattern>./features</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>./spec</exclude-pattern>
</rule>
<rule ref="Squiz.Scope.MethodScope.Missing">
<exclude-pattern>./spec</exclude-pattern>
</rule>
<arg name="colors"/>
</ruleset>