-
Notifications
You must be signed in to change notification settings - Fork 27
/
ruleset.xml
30 lines (24 loc) · 1.13 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
<?xml version="1.0"?>
<ruleset name="Joomla-CMS">
<description>The Joomla CMS PSR-12 exceptions.</description>
<!-- Exclude 3rd party libraries and Framework code. -->
<exclude-pattern type="relative">^vendor/*</exclude-pattern>
<exclude-pattern type="relative">^RoboFile.php</exclude-pattern>
<rule ref="PSR12" />
<!-- temporary extend the line length -->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="560"/>
<property name="absoluteLineLimit" value="560"/>
</properties>
</rule>
<rule ref="Squiz.Classes.ValidClassName">
<exclude-pattern type="relative">src/Tasks/Build/buildTasks\.php</exclude-pattern>
<exclude-pattern type="relative">src/Tasks/Deploy/deployTasks\.php</exclude-pattern>
<exclude-pattern type="relative">src/Tasks/Generate/generateTasks\.php</exclude-pattern>
<exclude-pattern type="relative">src/Tasks/Tasks\.php</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration">
<exclude-pattern type="relative">tests/*</exclude-pattern>
</rule>
</ruleset>