1<?xml version="1.0"?>
2<ruleset name="Zend">
3 <description>A coding standard based on an early Zend Framework coding standard. Note that this standard is out of date.</description>
4
5 <!-- Include some sniffs from all around the place -->
6 <rule ref="Generic.Functions.FunctionCallArgumentSpacing"/>
7 <rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"/>
8 <rule ref="Generic.PHP.DisallowShortOpenTag"/>
9 <rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
10 <rule ref="PEAR.Classes.ClassDeclaration"/>
11 <rule ref="PEAR.ControlStructures.ControlSignature"/>
12 <rule ref="PEAR.Functions.FunctionCallSignature"/>
13 <rule ref="PEAR.Functions.ValidDefaultValue"/>
14 <rule ref="PEAR.WhiteSpace.ScopeClosingBrace"/>
15 <rule ref="Squiz.Functions.GlobalFunction"/>
16
17 <!-- Lines can be 80 chars long, show errors at 120 chars -->
18 <rule ref="Generic.Files.LineLength">
19  <properties>
20   <property name="lineLimit" value="80"/>
21   <property name="absoluteLineLimit" value="120"/>
22  </properties>
23 </rule>
24
25 <!-- Use Unix newlines -->
26 <rule ref="Generic.Files.LineEndings">
27  <properties>
28   <property name="eolChar" value="\n"/>
29  </properties>
30 </rule>
31
32</ruleset>
33