before_script:
- git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
script:
- - find files -type f -name '*.php' |xargs -I file php -l file
- - phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" files
\ No newline at end of file
+ - find lib -type f -name '*.php' |xargs -I file php -l file
+ - phpcs -p --extensions=php --standard="/root/WCF/CodeSniff/WCF" --ignore="api/" lib
\ No newline at end of file