Commit | Line | Data |
---|---|---|
a3765d0c | 1 | language: php |
00a9e5b1 | 2 | sudo: false |
a3765d0c | 3 | php: |
7e0bd108 | 4 | - 7.2 |
e37ae8b3 | 5 | - 7.0 |
a3765d0c | 6 | before_install: |
7cf71822 | 7 | - export PATH="$PATH:$(composer global config bin-dir --absolute)" |
cfa839d4 | 8 | - composer global require "squizlabs/php_codesniffer=3.*" |
a3765d0c TD |
9 | - phpenv rehash |
10 | script: | |
f95ed10f | 11 | - find . -type f -name '*.php' -not -path './wcfsetup/install/files/lib/system/api/composer/autoload_static.php' -print0 |xargs -0 -I file -P 4 php -l file > /dev/null |
f8bb8045 | 12 | - phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" . |