-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy path.phpcs.xml
26 lines (21 loc) · 823 Bytes
/
.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
<?xml version="1.0"?>
<ruleset name="PSR12 Coding Standards">
<description>A custom set of code standard rules</description>
<rule ref="PSR12"/>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<!--
Exceptions to the PSR-2 guidelines as per our Developer Guide:
https://octobercms.com/help/guidelines/developer#psr-exceptions
-->
<exclude-pattern>*/tests/*\.php</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<!--
Migrations and tests do not need a namespace defined
-->
<exclude-pattern>*/tests/migrations/*\.php</exclude-pattern>
</rule>
<file>src</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/coverage/*</exclude-pattern>
</ruleset>