-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathruleset.xml
More file actions
26 lines (19 loc) · 858 Bytes
/
Copy pathruleset.xml
File metadata and controls
26 lines (19 loc) · 858 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
25
26
<?xml version="1.0"?>
<ruleset name="CEmerson Coding Standards">
<description>CEmerson coding standards</description>
<file>./spec</file>
<file>./src</file>
<rule ref="PSR12">
<!-- Line length should still be obeyed, but shouldn't be a reason for failure -->
<exclude name="Generic.Files.LineLength"/>
<exclude-pattern>./spec/*</exclude-pattern>
</rule>
<rule ref="PSR12">
<!-- PHPSpec uses underscore separators for its method names, and doesn't declare visibility -->
<exclude name="PSR1.Methods.CamelCapsMethodName"/>
<exclude name="Squiz.Scope.MethodScope"/>
<!-- Line length should still be obeyed, but shouldn't be a reason for failure -->
<exclude name="Generic.Files.LineLength"/>
<exclude-pattern>./src/*</exclude-pattern>
</rule>
</ruleset>