From b10bc8fc01b687fb948ba274ed25d93a9b4a1c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sun, 16 Jul 2023 12:38:46 +0200 Subject: [PATCH] Remove ignore rule for @method-provided method It looks like PHPStan no longer treats @method as a guarantee that the method will exist. --- phpstan.neon.dist | 4 ---- 1 file changed, 4 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 76cb510d4..1a379183d 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -43,10 +43,6 @@ parameters: count: 1 path: tests/Doctrine/Migrations/Tests/Tools/Console/legacy-config-orm/cli-config.php - - - message: '~^Call to function method_exists\(\) with Doctrine\\Migrations\\Metadata\\Storage\\MetadataStorage and ''getSql'' will always evaluate to true\.$~' - path: lib/Doctrine/Migrations/Version/DbalExecutor.php - # TODO: deprecate using the connection event manager and expose # our own event manager instead. -