-
Notifications
You must be signed in to change notification settings - Fork 22
/
phpcs.xml
30 lines (24 loc) · 1.04 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
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<file>lib</file>
<file>tests</file>
<rule ref="PSR1">
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>
</rule>
<rule ref="PSR12"/>
<rule ref="PSR12.Files.FileHeader.IncorrectOrder">
<exclude-pattern>*/lib/helpers.php</exclude-pattern>
<exclude-pattern>*/lib/Inflections/*</exclude-pattern>
</rule>
<rule ref="PSR12.Files.FileHeader.SpacingAfterBlock">
<exclude-pattern>*/lib/helpers.php</exclude-pattern>
<exclude-pattern>*/lib/Inflections/*</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>*/lib/Inflections/*</exclude-pattern>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern>*/lib/Inflections/*</exclude-pattern>
</rule>
</ruleset>