From 4e6cb908f61a00ee54e170ce57d933871a11d714 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Tue, 13 Dec 2022 18:51:58 +0100 Subject: [PATCH] PHPStan 1.9.3 (#10298) --- composer.json | 2 +- phpstan-dbal2.neon | 5 ----- phpstan-persistence2.neon | 5 ----- phpstan.neon | 5 ----- 4 files changed, 1 insertion(+), 16 deletions(-) diff --git a/composer.json b/composer.json index b60c74ecfd1..c3933ebc336 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.9.2", + "phpstan/phpstan": "~1.4.10 || 1.9.3", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", "psr/log": "^1 || ^2 || ^3", "squizlabs/php_codesniffer": "3.7.1", diff --git a/phpstan-dbal2.neon b/phpstan-dbal2.neon index 852987a3bd4..0237166f95d 100644 --- a/phpstan-dbal2.neon +++ b/phpstan-dbal2.neon @@ -61,8 +61,3 @@ parameters: - message: '#^Call to method injectObjectManager\(\) on an unknown class Doctrine\\Persistence\\ObjectManagerAware\.$#' path: lib/Doctrine/ORM/UnitOfWork.php - - # https://github.com/phpstan/phpstan/issues/7292 - - - message: '#^Offset class\-string on non\-empty\-array\\> in isset\(\) always exists and is not nullable\.$#' - path: lib/Doctrine/ORM/UnitOfWork.php diff --git a/phpstan-persistence2.neon b/phpstan-persistence2.neon index c2162bb60db..41d9db7a30c 100644 --- a/phpstan-persistence2.neon +++ b/phpstan-persistence2.neon @@ -36,8 +36,3 @@ parameters: # Symfony cache supports passing a key prefix to the clear method. - '/^Method Psr\\Cache\\CacheItemPoolInterface\:\:clear\(\) invoked with 1 parameter, 0 required\.$/' - - # https://github.com/phpstan/phpstan/issues/7292 - - - message: '#^Offset class\-string on non\-empty\-array\\> in isset\(\) always exists and is not nullable\.$#' - path: lib/Doctrine/ORM/UnitOfWork.php diff --git a/phpstan.neon b/phpstan.neon index 44083901272..c80418eede6 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -47,8 +47,3 @@ parameters: - message: '#^Call to method injectObjectManager\(\) on an unknown class Doctrine\\Persistence\\ObjectManagerAware\.$#' path: lib/Doctrine/ORM/UnitOfWork.php - - # https://github.com/phpstan/phpstan/issues/7292 - - - message: '#^Offset class\-string on non\-empty\-array\\> in isset\(\) always exists and is not nullable\.$#' - path: lib/Doctrine/ORM/UnitOfWork.php