diff --git a/composer.json b/composer.json index a73161bf5ef..963cff24967 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "require-dev": { "doctrine/coding-standard": "^9.0", "phpbench/phpbench": "^0.16.10 || ^1.0", - "phpstan/phpstan": "^0.12.83", + "phpstan/phpstan": "0.12.91", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", "squizlabs/php_codesniffer": "3.6.0", "symfony/cache": "^4.4 || ^5.2", 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