Mercurial > hg > isophonics-drupal-site
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/ruleset.xml Wed Nov 29 16:09:58 2017 +0000 @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<ruleset name="PEAR"> + <description>The PEAR coding standard.</description> + + <!-- Include some additional sniffs from the Generic standard --> + <rule ref="Generic.Functions.FunctionCallArgumentSpacing"/> + <rule ref="Generic.NamingConventions.UpperCaseConstantName"/> + <rule ref="Generic.PHP.LowerCaseConstant"/> + <rule ref="Generic.PHP.DisallowShortOpenTag"/> + <rule ref="Generic.WhiteSpace.DisallowTabIndent"/> + <rule ref="Generic.Commenting.DocComment"/> + + <!-- Lines can be 85 chars long, but never show errors --> + <rule ref="Generic.Files.LineLength"> + <properties> + <property name="lineLimit" value="85"/> + <property name="absoluteLineLimit" value="0"/> + </properties> + </rule> + + <!-- Use Unix newlines --> + <rule ref="Generic.Files.LineEndings"> + <properties> + <property name="eolChar" value="\n"/> + </properties> + </rule> + + <!-- This message is not required as spaces are allowed for alignment --> + <rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma"> + <severity>0</severity> + </rule> + + <!-- Use warnings for inline control structures --> + <rule ref="Generic.ControlStructures.InlineControlStructure"> + <properties> + <property name="error" value="false"/> + </properties> + </rule> + +</ruleset>