diff options
author | Michal Čihař <michal@cihar.com> | 2017-09-28 14:32:18 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-09-28 14:32:18 +0300 |
commit | 656127c90611c53400721857706b12bf55cd21bb (patch) | |
tree | b72e842e436e740ab322f7972bd76c7690745f51 /build.xml | |
parent | 904120952e52e3638fc4427b4b9cd97669be8933 (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.xml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |