Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2019-12-29 15:31:10 +00:00
4 changed files with 26 additions and 24 deletions

View File

@ -1,21 +0,0 @@
parameters:
ignoreErrors:
-
message: "#^If condition is always true\\.$#"
count: 2
path: ../../../src/Server.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: ../../../src/Server.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: ../../../src/updater/AutoUpdater.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: ../../../src/updater/AutoUpdater.php

View File

@ -21,7 +21,7 @@ if [ $? -ne 0 ]; then
exit 1
fi
[ ! -f phpstan.phar ] && echo "Downloading PHPStan..." && curl -sSLO https://github.com/phpstan/phpstan/releases/download/0.12.2/phpstan.phar
[ ! -f phpstan.phar ] && echo "Downloading PHPStan..." && curl -sSLO https://github.com/phpstan/phpstan/releases/download/0.12.3/phpstan.phar
"$PHP_BINARY" phpstan.phar analyze --no-progress --memory-limit=2G || exit 1
echo "PHPStan scan succeeded"