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:
authorWilliam Desportes <williamdes@wdes.fr>2020-11-14 00:29:36 +0300
committerWilliam Desportes <williamdes@wdes.fr>2020-11-14 00:34:57 +0300
commit029888abe4fdd8f812e4bd2b4d3e068d54d78661 (patch)
treeb55b28230332a80d52a2466848708bde14798372 /build.xml
parentba05ef0c820541f3f90de99859249f58f05671b4 (diff)
Update ant build target for phpcs
[ci skip] Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 92687734b5..b242e1a290 100644
--- a/build.xml
+++ b/build.xml
@@ -76,18 +76,15 @@
<target name="phpcs-config" description="PHPCS configuration tweaking">
<exec executable="${basedir}/vendor/bin/phpcs">
- <arg line="--config-set installed_paths ${basedir}/vendor/phpmyadmin/coding-standard" />
+ <arg line="--config-set installed_paths ${basedir}/vendor/doctrine/coding-standard/lib,${basedir}/vendor/phpmyadmin/coding-standard,${basedir}/vendor/slevomat/coding-standard" />
</exec>
</target>
<target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding third party libraries" depends="phpcs-config">
<exec executable="${basedir}/vendor/bin/phpcs">
<arg line="
- --ignore=*/vendor/*,*/build/*,*/tmp/*
--report=checkstyle
- --extensions=php
--report-file='${basedir}/build/logs/checkstyle.xml'
- --standard=PhpMyAdmin
${source}" />
</exec>
</target>