1<?xml version="1.0"?> 2<ruleset name="PEAR"> 3 <description>The PEAR coding standard.</description> 4 5 <!-- Include some additional sniffs from the Generic standard --> 6 <rule ref="Generic.Functions.FunctionCallArgumentSpacing"/> 7 <rule ref="Generic.NamingConventions.UpperCaseConstantName"/> 8 <rule ref="Generic.PHP.LowerCaseConstant"/> 9 <rule ref="Generic.PHP.DisallowShortOpenTag"/> 10 <rule ref="Generic.WhiteSpace.DisallowTabIndent"/> 11 <rule ref="Generic.Commenting.DocComment"/> 12 13 <!-- Lines can be 85 chars long, but never show errors --> 14 <rule ref="Generic.Files.LineLength"> 15 <properties> 16 <property name="lineLimit" value="85"/> 17 <property name="absoluteLineLimit" value="0"/> 18 </properties> 19 </rule> 20 21 <!-- Use Unix newlines --> 22 <rule ref="Generic.Files.LineEndings"> 23 <properties> 24 <property name="eolChar" value="\n"/> 25 </properties> 26 </rule> 27 28 <!-- This message is not required as spaces are allowed for alignment --> 29 <rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma"> 30 <severity>0</severity> 31 </rule> 32 33 <!-- Use warnings for inline control structures --> 34 <rule ref="Generic.ControlStructures.InlineControlStructure"> 35 <properties> 36 <property name="error" value="false"/> 37 </properties> 38 </rule> 39 40</ruleset> 41