-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathruleset.xml
executable file
·51 lines (41 loc) · 1.3 KB
/
ruleset.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0"?>
<ruleset>
<!-- display progress -->
<arg value="p"/>
<arg name="colors"/>
<!-- Inheritance Rules. -->
<rule ref="PSR2"/>
<!-- <rule ref="PEAR"/>-->
<!-- Paths to check -->
<file>src</file>
<!-- Excluded paths -->
<exclude-pattern>Kernel</exclude-pattern>
<exclude-pattern>*/Tests</exclude-pattern>
<exclude-pattern>*/Translations</exclude-pattern>
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
<rule ref="Generic.Commenting.Todo.CommentFound">
<message>Please review this TODO comment: %s</message>
<severity>3</severity>
</rule>
<rule ref="Generic.Formatting.MultipleStatementAlignment">
<type>error</type>
</rule>
<rule ref="Squiz.Strings">
<type>warning</type>
</rule>
<rule ref="PSR12">
<type>warning</type>
</rule>
<rule ref="Generic.Commenting.Todo.CommentFound">
<type>error</type>
</rule>
<rule ref="Squiz.Strings.DoubleQuoteUsage.ContainsVar">
<type>warning</type>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property phpcs-only="true" name="lineLimit" value="80"/>
<property phpcbf-only="true" name="lineLimit" value="120"/>
</properties>
</rule>
</ruleset>