diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index b4aaf942b56..175fcd78c5f 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -2022,7 +2022,7 @@ parameters: path: lib/Doctrine/ORM/QueryBuilder.php - - message: "#^Parameter \\#2 \\$dqlPart of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:add\\(\\) expects array\\<'join'\\|int, array\\\\|string\\>\\|object\\|string, array\\ given\\.$#" + message: "#^Parameter \\#2 \\$dqlPart of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:add\\(\\) expects array\\<'join'\\|int, array\\\\|string\\>\\|object\\|string, array\\&nonEmpty given\\.$#" count: 2 path: lib/Doctrine/ORM/QueryBuilder.php diff --git a/phpstan.neon b/phpstan.neon index d1ad4ae5101..ce6af483ef1 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -12,7 +12,3 @@ parameters: Doctrine\ORM\Query\Parser: - syntaxError phpVersion: 70100 - - ignoreErrors: - # The class was added in PHP 8.1 - - '/^Attribute class ReturnTypeWillChange does not exist.$/'