From d3d29f80d75ebc0c212a7bc71cb253b121476635 Mon Sep 17 00:00:00 2001 From: DjordyKoert Date: Thu, 15 Feb 2024 16:29:59 +0100 Subject: [PATCH] update phpstan-baseline --- phpstan-baseline.neon | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index edb4ce571..00a80cda5 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1380,11 +1380,6 @@ parameters: count: 1 path: PropertyDescriber/ArrayPropertyDescriber.php - - - message: "#^Parameter \\#2 \\$property of method Nelmio\\\\ApiDocBundle\\\\PropertyDescriber\\\\PropertyDescriberInterface\\:\\:describe\\(\\) expects OpenApi\\\\Annotations\\\\Schema, OpenApi\\\\Annotations\\\\AbstractAnnotation given\\.$#" - count: 1 - path: PropertyDescriber/ArrayPropertyDescriber.php - - message: "#^Method Nelmio\\\\ApiDocBundle\\\\PropertyDescriber\\\\BooleanPropertyDescriber\\:\\:describe\\(\\) has no return type specified\\.$#" count: 1 @@ -1445,6 +1440,26 @@ parameters: count: 1 path: PropertyDescriber/DateTimePropertyDescriber.php + - + message: "#^Method Nelmio\\\\ApiDocBundle\\\\PropertyDescriber\\\\DictionaryPropertyDescriber\\:\\:describe\\(\\) has no return type specified\\.$#" + count: 1 + path: PropertyDescriber/DictionaryPropertyDescriber.php + + - + message: "#^Method Nelmio\\\\ApiDocBundle\\\\PropertyDescriber\\\\DictionaryPropertyDescriber\\:\\:describe\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + count: 1 + path: PropertyDescriber/DictionaryPropertyDescriber.php + + - + message: "#^Method Nelmio\\\\ApiDocBundle\\\\PropertyDescriber\\\\DictionaryPropertyDescriber\\:\\:setModelRegistry\\(\\) has no return type specified\\.$#" + count: 1 + path: PropertyDescriber/DictionaryPropertyDescriber.php + + - + message: "#^Method Nelmio\\\\ApiDocBundle\\\\PropertyDescriber\\\\PropertyDescriberInterface\\:\\:describe\\(\\) invoked with 5 parameters, 2\\-3 required\\.$#" + count: 1 + path: PropertyDescriber/DictionaryPropertyDescriber.php + - message: "#^Method Nelmio\\\\ApiDocBundle\\\\PropertyDescriber\\\\FloatPropertyDescriber\\:\\:describe\\(\\) has no return type specified\\.$#" count: 1 @@ -1667,7 +1682,7 @@ parameters: - message: "#^Call to method render\\(\\) on an unknown class Twig_Environment\\.$#" - count: 1 + count: 2 path: Render/Html/HtmlOpenApiRenderer.php -