From 6127a02a8b32487f7f5951dbc507066079ebb8d3 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 12 Dec 2019 10:43:45 +0000 Subject: [PATCH] phpstan 0.12.2 --- tests/phpstan/configs/phpstan-bugs.neon | 6 ------ tests/travis.sh | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/phpstan/configs/phpstan-bugs.neon b/tests/phpstan/configs/phpstan-bugs.neon index 696fcc8ab..6e3312bd8 100644 --- a/tests/phpstan/configs/phpstan-bugs.neon +++ b/tests/phpstan/configs/phpstan-bugs.neon @@ -25,9 +25,3 @@ parameters: message: "#^Offset \\(int\\|string\\) does not exist on array\\(\\)\\.$#" count: 1 path: ../../../src/pocketmine/MemoryManager.php - - - - message: "#^Array \\(array\\) does not accept key int\\.$#" - count: 1 - path: ../../../src/pocketmine/plugin/PluginDescription.php - diff --git a/tests/travis.sh b/tests/travis.sh index ba90d4a19..ee5053262 100755 --- a/tests/travis.sh +++ b/tests/travis.sh @@ -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.0/phpstan.phar +[ ! -f phpstan.phar ] && echo "Downloading PHPStan..." && curl -sSLO https://github.com/phpstan/phpstan/releases/download/0.12.2/phpstan.phar "$PHP_BINARY" phpstan.phar analyze --no-progress --memory-limit=2G || exit 1 echo "PHPStan scan succeeded"