forked from ExpressionEngine/ExpressionEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.ruleset.xml
20 lines (18 loc) · 872 Bytes
/
phpcs.ruleset.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<ruleset name="ExpressionEngine">
<description>The PSR-12 Custom EE coding standard.</description>
<ini name="memory_limit" value="512M"/>
<arg name="extensions" value="php"/>
<arg name="tab-width" value="4"/>
<!-- Code MUST follow all rules outlined in PSR-12. -->
<rule ref="PSR12">
<exclude name="Generic.Files.LineLength" />
<exclude name="Generic.Files.LineEndings.InvalidEOLChar" />
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" />
<exclude name="PSR1.Classes.ClassDeclaration" />
<exclude name="PSR2.Methods.MethodDeclaration" />
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
<exclude name="PSR12.Files.FileHeader.SpacingAfterBlock" />
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore" />
</rule>
</ruleset>