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