diff --git a/tests/travis.sh b/tests/travis.sh index f0c2d4644..6b1c214ca 100755 --- a/tests/travis.sh +++ b/tests/travis.sh @@ -9,12 +9,12 @@ while getopts "p:t:" OPTION 2> /dev/null; do PHP_BINARY="$OPTARG" ;; t) - PM_WORKERS="$OPTARG" - ;; + PM_WORKERS="$OPTARG" + ;; esac done -[ ! -f phpstan.phar ] && echo "Downloading PHPStan..." && curl -sSLO https://github.com/phpstan/phpstan/releases/download/0.12.6/phpstan.phar +[ ! -f phpstan.phar ] && echo "Downloading PHPStan..." && curl -sSLO https://github.com/phpstan/phpstan/releases/download/0.12.7/phpstan.phar "$PHP_BINARY" phpstan.phar analyze --no-progress --memory-limit=2G || exit 1 echo "PHPStan scan succeeded"