From f2e57d339e7f05a201f7b50461b9d93b0dc7e480 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Fri, 13 Jun 2014 13:32:19 +0200 Subject: [PATCH] [ticket/12682] Make Code Sniffer run properly on Travis CI again. The --ignore parameter takes a case-insensitive pattern and as such 'phpBB/phpbb/*' matches any '/home/travis/build/phpbb/phpbb/...' file name. This results in nothing being checked against ruleset-php-legacy.xml. Using absolute paths in the --ignore pattern fixes this issues. PHPBB3-12682 --- build/build.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/build/build.xml b/build/build.xml index ec94cf3ea6..510e7d0955 100644 --- a/build/build.xml +++ b/build/build.xml @@ -78,22 +78,22 @@ -s --extensions=php --standard=build/code_sniffer/ruleset-php-strict.xml - --ignore=phpBB/phpbb/db/migration/data/v30x/* + --ignore=${project.basedir}/phpBB/phpbb/db/migration/data/v30x/* phpBB/phpbb" dir="." returnProperty="retval-php-strict" passthru="true" />