From f62a373a3b6f44b52dee2d571c8a037bd9a1b8ab Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Thu, 3 Nov 2022 11:09:59 +0100 Subject: [PATCH] PHPStan 1.9.0 --- composer.json | 2 +- phpstan-persistence2.neon | 3 --- phpstan.neon | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 2d1b724eb4c..e4c80322e1a 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "doctrine/annotations": "^1.13", "doctrine/coding-standard": "^9.0.2 || ^10.0", "phpbench/phpbench": "^0.16.10 || ^1.0", - "phpstan/phpstan": "~1.4.10 || 1.8.11", + "phpstan/phpstan": "~1.4.10 || 1.9.0", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", "psr/log": "^1 || ^2 || ^3", "squizlabs/php_codesniffer": "3.7.1", diff --git a/phpstan-persistence2.neon b/phpstan-persistence2.neon index f2e12c625d7..c2162bb60db 100644 --- a/phpstan-persistence2.neon +++ b/phpstan-persistence2.neon @@ -8,9 +8,6 @@ parameters: - '/^Call to an undefined method Doctrine\\DBAL\\Platforms\\AbstractPlatform::getGuidExpression\(\).$/' # Fallback logic for DBAL 2 - - - message: '/HelperSet constructor expects/' - path: lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php - message: '/Application::add\(\) expects Symfony\\Component\\Console\\Command\\Command/' path: lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php diff --git a/phpstan.neon b/phpstan.neon index 73ae586b4cd..44083901272 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -8,9 +8,6 @@ parameters: - '/^Call to an undefined method Doctrine\\DBAL\\Platforms\\AbstractPlatform::getGuidExpression\(\).$/' # Fallback logic for DBAL 2 - - - message: '/HelperSet constructor expects/' - path: lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php - message: '/Application::add\(\) expects Symfony\\Component\\Console\\Command\\Command/' path: lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php