annotate vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/ruleset.xml @ 0:4c8ae668cc8c

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