-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathruleset.xml
32 lines (25 loc) · 967 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
<?xml version="1.0"?>
<ruleset name="PSR12 with Joomla specific additions">
<description>
This is a PSR-12 compliant ruleset for Joomla.
</description>
<file>src</file>
<file>Tests</file>
<exclude-pattern>*/Tests/Stubs/*</exclude-pattern>
<arg name="extensions" value="php"/>
<arg name="report" value="full"/>
<arg name="tab-width" value="4"/>
<arg name="encoding" value="utf-8"/>
<arg name="colors" />
<arg value="sp"/>
<rule ref="PSR12">
<exclude name="Generic.Files.LineLength.MaxExceeded"/>
<exclude name="Generic.Files.LineLength.TooLong"/>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern type="relative">src/Localise/En_GBLocalise\.php</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern type="relative">src/Transliterate\.php</exclude-pattern>
</rule>
</ruleset>