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