forked from johanot/JsonRPC
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.phpcs.xml
More file actions
21 lines (21 loc) · 727 Bytes
/
.phpcs.xml
File metadata and controls
21 lines (21 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset name="PSR12-src">
<description>PSR12 programming standard</description>
<!-- display progress -->
<arg value="p"/>
<arg value="n"/>
<arg value="s"/>
<!-- directories and files to check -->
<file>./src</file>
<file>./tests</file>
<!-- Use PSR12 as a standard -->
<rule ref="PSR12">
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
<exclude name="PSR1.Classes.ClassDeclaration.MultipleClasses"/>
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>
<exclude-pattern>src/*</exclude-pattern>
</rule>
<rule ref="PSR12">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
</ruleset>