annotate vendor/squizlabs/php_codesniffer/src/Standards/Zend/ruleset.xml @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 129ea1e6d783
children
rev   line source
Chris@17 1 <?xml version="1.0"?>
Chris@17 2 <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Zend" xsi:noNamespaceSchemaLocation="../../../phpcs.xsd">
Chris@17 3 <description>A coding standard based on an early Zend Framework coding standard. Note that this standard is out of date.</description>
Chris@17 4
Chris@17 5 <!-- Include some sniffs from all around the place -->
Chris@17 6 <rule ref="Generic.Functions.FunctionCallArgumentSpacing"/>
Chris@17 7 <rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"/>
Chris@17 8 <rule ref="Generic.PHP.DisallowShortOpenTag"/>
Chris@17 9 <rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
Chris@17 10 <rule ref="PEAR.Classes.ClassDeclaration"/>
Chris@17 11 <rule ref="PEAR.ControlStructures.ControlSignature"/>
Chris@17 12 <rule ref="PEAR.Functions.FunctionCallSignature"/>
Chris@17 13 <rule ref="PEAR.Functions.ValidDefaultValue"/>
Chris@17 14 <rule ref="PEAR.WhiteSpace.ScopeClosingBrace"/>
Chris@17 15 <rule ref="Squiz.Functions.GlobalFunction"/>
Chris@17 16
Chris@17 17 <!-- Lines can be 80 chars long, show errors at 120 chars -->
Chris@17 18 <rule ref="Generic.Files.LineLength">
Chris@17 19 <properties>
Chris@17 20 <property name="lineLimit" value="80"/>
Chris@17 21 <property name="absoluteLineLimit" value="120"/>
Chris@17 22 </properties>
Chris@17 23 </rule>
Chris@17 24
Chris@17 25 <!-- Use Unix newlines -->
Chris@17 26 <rule ref="Generic.Files.LineEndings">
Chris@17 27 <properties>
Chris@17 28 <property name="eolChar" value="\n"/>
Chris@17 29 </properties>
Chris@17 30 </rule>
Chris@17 31
Chris@17 32 </ruleset>