Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor 2020-01-25 18:11:02 +00:00
commit 588ff8acf6

View File

@ -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"