phpmyadmin/PMAStandard/ruleset.xml
Chirayu Chiripal 3883925148 Added codesniffer rule to detect trailing whitespace
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-06-01 20:08:39 +05:30

17 lines
686 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="PEAR.Commenting.InlineComment" />
<exclude name="Generic.Files.LineLength" />
</rule>
<rule ref="Generic.Metrics.NestingLevel" />
<!-- There MUST NOT be trailing whitespace at the end of lines. -->
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" />
</ruleset>