diff --git a/tests/phpstan/configs/phpstan-bugs.neon b/tests/phpstan/configs/phpstan-bugs.neon index 5d025707b4..efd9ba99e7 100644 --- a/tests/phpstan/configs/phpstan-bugs.neon +++ b/tests/phpstan/configs/phpstan-bugs.neon @@ -72,7 +72,3 @@ parameters: count: 1 path: ../../../src/network/upnp/UPnP.php - - - message: "#^Strict comparison using \\=\\=\\= between int\\<1, max\\> and 0 will always evaluate to false\\.$#" - count: 1 - path: ../../../src/utils/Config.php diff --git a/tests/travis.sh b/tests/travis.sh index 4e0b9db58c..f0c2d4644d 100755 --- a/tests/travis.sh +++ b/tests/travis.sh @@ -14,7 +14,7 @@ while getopts "p:t:" OPTION 2> /dev/null; do esac done -[ ! -f phpstan.phar ] && echo "Downloading PHPStan..." && curl -sSLO https://github.com/phpstan/phpstan/releases/download/0.12.5/phpstan.phar +[ ! -f phpstan.phar ] && echo "Downloading PHPStan..." && curl -sSLO https://github.com/phpstan/phpstan/releases/download/0.12.6/phpstan.phar "$PHP_BINARY" phpstan.phar analyze --no-progress --memory-limit=2G || exit 1 echo "PHPStan scan succeeded"