phpmyadmin/PMAStandard/ruleset.xml
Chirayu Chiripal 737280161c Update PMAStandard as per PHP_CodeSniffer 2.x
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2015-02-26 14:23:48 +05:30

22 lines
822 B
XML

<?xml version="1.0"?>
<ruleset name="phpMyAdmin Standard">
<!-- http://pear.php.net/manual/en/package.php.php-codesniffer.annotated-ruleset.php -->
<description>phpMyAdmin custom coding standard</description>
<rule ref="PEAR">
<exclude name="PEAR.Commenting.FileComment" />
<exclude name="PEAR.Commenting.ClassComment" />
<exclude name="PEAR.Commenting.FunctionComment" />
<exclude name="Generic.Commenting.DocComment" />
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="85"/>
<property name="absoluteLineLimit" value="0"/>
</properties>
</rule>
<rule ref="Generic.Metrics.NestingLevel" />
<!-- There MUST NOT be trailing whitespace at the end of lines. -->
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" />
</ruleset>