-
-
Notifications
You must be signed in to change notification settings - Fork 203
Expand file tree
/
Copy pathphpcs.xml
More file actions
24 lines (20 loc) · 667 Bytes
/
phpcs.xml
File metadata and controls
24 lines (20 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<ruleset name="KVH PHPCS Rules" namespace="Kovah\CS\Standard">
<description>KVH Code Standard ruleset</description>
<!-- Check the theme folder -->
<file>./app</file>
<file>./database/factories</file>
<file>./database/seeders</file>
<file>./tests</file>
<!-- Enable the PSR-2 Code Standard rules -->
<rule ref="PSR2">
<exclude name="Generic.Files.LineLength"/>
</rule>
<!-- Disable camel caps warnings for tests directory -->
<rule ref="PSR1.Methods.CamelCapsMethodName">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
</ruleset>