Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-04-19 17:25:15 +0300
committerMichal Čihař <michal@cihar.com>2016-04-19 17:25:15 +0300
commitc2419ee951272b3006224f5a7727955780918a5f (patch)
tree1ab63d55fcd58db73ecc0e2dc5781eba2c388112 /build.xml
parentd019757f641217b5d14c6804ccb896f71d596a4f (diff)
parent8b29917eca5778b61dff701a6082060c83d3e6c5 (diff)
Merge branch 'QA_4_6'
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index c32f2fea8f..0590d7ad49 100644
--- a/build.xml
+++ b/build.xml
@@ -55,7 +55,7 @@
<arg line="${source_comma_sep}
xml
codesize,design,naming,unusedcode
- --exclude test,build,bfShapeFiles,PMAStandard,vendor
+ --exclude test,build,bfShapeFiles,vendor
--reportfile '${basedir}/build/logs/pmd.xml'" />
</exec>
</target>
@@ -64,7 +64,6 @@
<exec executable="phpcpd">
<arg line="--log-pmd '${basedir}/build/logs/pmd-cpd.xml'
--exclude test
- --exclude PMAStandard
--exclude build
--exclude vendor
--exclude libraries/bfShapeFiles
@@ -76,7 +75,6 @@
<exec executable="phploc">
<arg line="--log-csv '${basedir}/build/logs/phploc.csv'
--exclude test
- --exclude PMAStandard
--exclude build
--exclude vendor
--exclude libraries/bfShapeFiles
@@ -84,10 +82,16 @@
</exec>
</target>
- <target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding third party libraries">
+ <target name="phpcs-config" description="PHPCS configuration tweaking">
+ <exec executable="phpcs">
+ <arg line="--config-set installed_paths ${basedir}/vendor/phpmyadmin/coding-standard" />
+ </exec>
+ </target>
+
+ <target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding third party libraries" depends="phpcs-config">
<exec executable="phpcs">
<arg line="
- --ignore=*/vendor/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/PMAStandard/*
+ --ignore=*/vendor/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*
--report=checkstyle
--extensions=php
--report-file='${basedir}/build/logs/checkstyle.xml'