Fix detection of nested tables in messages
[GitHub/WoltLab/WCF.git] / .travis.yml
1 language: php
2 sudo: false
3 dist: trusty
4 php:
5 - 7.2
6 - 5.5
7 before_install:
8 - export PATH="$PATH:$(composer global config bin-dir --absolute)"
9 - composer global require "squizlabs/php_codesniffer=3.*"
10 - phpenv rehash
11 script:
12 - 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
13 - phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .