diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 8a3d552fdc9..e387eb25652 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -16,8 +16,8 @@ parameters: # https://bugs.php.net/bug.php?id=78126 - '~^Call to an undefined method PDO::sqliteCreateFunction\(\)\.\z~' - # https://github.com/phpstan/phpstan/issues/1847 - - '~^Parameter #2 \$registeredAliases of static method Doctrine\\DBAL\\Query\\QueryException::nonUniqueAlias\(\) expects array, array given\.\z~' + # https://github.com/phpstan/phpstan/issues/2857 + - '~^Parameter #2 \$registeredAliases of static method Doctrine\\DBAL\\Query\\Exception\\NonUniqueAlias::new\(\) expects array, array given\.\z~' # legacy remnants from doctrine/common - '~^Class Doctrine\\Common\\(Collections\\Collection|Persistence\\Proxy) not found\.\z~'