Add custom coding standard for PHPCS
This commit is contained in:
parent
941c923c31
commit
76041ce9ca
13
PMAStandard/ruleset.xml
Normal file
13
PMAStandard/ruleset.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?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" />
|
||||
</rule>
|
||||
</ruleset>
|
||||
|
||||
@ -73,7 +73,7 @@
|
||||
--ignore=*/php-gettext/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/highcharts/*,*/openlayers/*,*/jquery/*,*/build/*,*/bfShapeFiles/*
|
||||
--report=checkstyle
|
||||
--report-file=${basedir}/build/logs/checkstyle.xml
|
||||
--standard=PEAR
|
||||
--standard=PMAStandard
|
||||
${source}" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user