diff --git a/.travis.yml b/.travis.yml
index e481b68..ee84309 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,5 +12,5 @@ before_script:
- sed -i 's///' WCF/CodeSniff/WCF/ruleset.xml
- sed -i 's///' WCF/CodeSniff/WCF/ruleset.xml
script:
- - find . -type f -name '*.php' |xargs -I file php -l file
+ - find file -type f -name '*.php' |xargs -I file php -l file
- phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" file