From 67ccc6b3699823f26b6a9cdf71fc5a47f33c05b3 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Fri, 24 Mar 2023 11:24:31 +0100 Subject: [PATCH] Update phpstan baseline --- phpstan-baseline.neon | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index d67a346142..45a9ba3dce 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,12 +1,7 @@ parameters: ignoreErrors: - - message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Builder\\:\\:getPipeline\\(\\) should return array\\\\|object\\> but returns array\\\\>\\.$#" - count: 2 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php - - - - message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Builder\\:\\:getPipeline\\(\\) should return array\\\\|object\\> but returns non\\-empty\\-array\\\\>\\.$#" + message: "#^Circular definition detected in type alias PipelineExpression\\.$#" count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php @@ -40,6 +35,11 @@ parameters: count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Densify.php + - + message: "#^Circular definition detected in type alias FacetStageExpression\\.$#" + count: 1 + path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Facet.php + - message: "#^Return type \\(Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\GeoNear\\) of method Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\GeoNear\\:\\:limit\\(\\) should be compatible with return type \\(Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\Limit\\) of method Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\:\\:limit\\(\\)$#" count: 1