sudo: false
php:
- 5.6
- - 5.3
+ - 5.5
before_install:
- - pyrus install pear/PHP_CodeSniffer-2.9.0
+ - pyrus install pear/PHP_CodeSniffer
- phpenv rehash
before_script:
- - git clone --branch=2.0 --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
+ - 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