From 21285d6873d621c68bb1a559884b434d13803193 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Tue, 11 Apr 2023 10:48:50 +0200 Subject: [PATCH] Update phpstan-baseline --- phpstan-baseline.neon | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 199b8e558..65e334496 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,19 +1,19 @@ parameters: ignoreErrors: - - message: "#^PHPDoc tag @param references unknown parameter\\: \\$applyFilters$#" + message: "#^Circular definition detected in type alias PipelineExpression\\.$#" count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php - - message: "#^Unsafe usage of new static\\(\\)\\.$#" + message: "#^PHPDoc tag @param references unknown parameter\\: \\$applyFilters$#" count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Expr.php + path: lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php - - message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\AbstractReplace\\:\\:getReplaceExpression\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Unsafe usage of new static\\(\\)\\.$#" count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/AbstractReplace.php + path: lib/Doctrine/ODM/MongoDB/Aggregation/Expr.php - message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\Bucket\\\\AbstractOutput\\:\\:avg\\(\\) has parameter \\$expressions with no type specified\\.$#" @@ -60,6 +60,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 \\(static\\(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 @@ -70,6 +75,11 @@ parameters: count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GraphLookup.php + - + message: "#^Circular definition detected in type alias PipelineParamType\\.$#" + count: 1 + path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Lookup.php + - message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\Lookup\\:\\:getExpression\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -85,16 +95,36 @@ parameters: count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Lookup.php + - + message: "#^Circular definition detected in type alias WhenMatchedParamType\\.$#" + count: 1 + path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Merge.php + + - + message: "#^Circular definition detected in type alias WhenMatchedType\\.$#" + count: 1 + path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Merge.php + - message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\Merge\\:\\:getExpression\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Merge.php + - + message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\Merge\\:\\:whenMatched\\(\\) has parameter \\$whenMatched with no value type specified in iterable type array\\.$#" + count: 1 + path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Merge.php + - message: "#^PHPDoc tag @return with type mixed is not subtype of native type array\\.$#" count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Merge.php + - + message: "#^Property Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\Merge\\:\\:\\$whenMatched type has no value type specified in iterable type array\\.$#" + count: 1 + path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Merge.php + - message: "#^Unable to resolve the template type T in call to method Doctrine\\\\ODM\\\\MongoDB\\\\DocumentManager\\:\\:getClassMetadata\\(\\)$#" count: 1