forked from joomla-framework/database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruleset.xml
27 lines (22 loc) · 859 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
<?xml version="1.0"?>
<ruleset name="Joomla">
<arg name="report" value="full"/>
<arg name="tab-width" value="4"/>
<arg name="encoding" value="utf-8"/>
<arg value="sp"/>
<arg name="colors" />
<!-- Exclude folders not containing production code -->
<exclude-pattern>*/.github/*</exclude-pattern>
<!-- Exclude 3rd party libraries. -->
<exclude-pattern>*/vendor/*</exclude-pattern>
<rule ref="Joomla">
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
<!-- Required due to non-private class properties being named in snake case -->
<exclude name="Joomla.NamingConventions.ValidVariableName"/>
</rule>
<rule ref="Joomla.Classes.InstantiateNewClasses">
<properties>
<property name="shortArraySyntax" value="true"/>
</properties>
</rule>
</ruleset>