forked from AOEpeople/Aoe_Scheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
27 lines (22 loc) · 1.09 KB
/
phpcs.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="AOE-Mage1">
<description>Magento extension ruleset based on PSR-2 but modified for Magento 1</description>
<rule ref="PSR2">
<!-- Magento 1 class names don't comply so ignore these rules -->
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
<!-- Magento standards use underscore for private methods so lets ignore this -->
<exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
<!-- Magento requires including files in some cases so we either exclude this test or add DocBlocks -->
<exclude name="PSR1.Files.SideEffects"/>
<!-- Handle line length in a different rule -->
<exclude name="Generic.Files.LineLength"/>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="200"/>
<property name="absoluteLineLimit" value=""/>
</properties>
</rule>
</ruleset>