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>2017-09-28 14:32:18 +0300
committerMichal Čihař <michal@cihar.com>2017-09-28 14:32:18 +0300
commit656127c90611c53400721857706b12bf55cd21bb (patch)
treeb72e842e436e740ab322f7972bd76c7690745f51 /build.xml
parent904120952e52e3638fc4427b4b9cd97669be8933 (diff)
Use phpcs from vendor dir
We really do not want to use potentially older version installed on the system. See https://github.com/phpmyadmin/coding-standard/pull/5 Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index db30f41b48..0227403786 100644
--- a/build.xml
+++ b/build.xml
@@ -83,13 +83,13 @@
</target>
<target name="phpcs-config" description="PHPCS configuration tweaking">
- <exec executable="phpcs">
+ <exec executable="${basedir}/vendor/bin/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">
+ <exec executable="${basedir}/vendor/bin/phpcs">
<arg line="
--ignore=*/vendor/*,*/build/*,*/tmp/*
--report=checkstyle