-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathruleset.xml
More file actions
37 lines (29 loc) · 1.41 KB
/
Copy pathruleset.xml
File metadata and controls
37 lines (29 loc) · 1.41 KB
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
<?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">assets/init/RoboFile\.php</exclude-pattern>
<exclude-pattern type="relative">tests/*</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects">
<exclude-pattern type="relative">assets/init/RoboFile\.php</exclude-pattern>
<exclude-pattern type="relative">tests/*</exclude-pattern>
</rule>
</ruleset>