forked from joomla-projects/soc23_joomla-converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruleset.xml
34 lines (25 loc) · 985 Bytes
/
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
<?xml version="1.0"?>
<ruleset name="Joomla-CMS">
<description>The Joomla CMS PSR-12 exceptions.</description>
<!-- Exclude folders not containing production code -->
<!-- Exclude 3rd party libraries and Framework code. -->
<exclude-pattern type="relative">src/administrator/components/com_migratetojoomla/tmpl/*</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="PSR1.Classes.ClassDeclaration">
</rule>
<rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
</rule>
<rule ref="PSR2.Methods.MethodDeclaration.Underscore">
</rule>
<rule ref="Squiz.Classes.ValidClassName">
</rule>
</ruleset>