From 4cc09b514996d40acf19f8ef21b6f084d38bc06d Mon Sep 17 00:00:00 2001 From: MDW Date: Mon, 3 Mar 2025 19:33:44 +0100 Subject: [PATCH] Qual: Ignore phpstan notices requiring deeper analysis --- dev/build/phpstan/phpstan-baseline.neon | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index ce8c2a8fa80..0ed297ad58d 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -20214,6 +20214,18 @@ parameters: count: 1 path: ../../../htdocs/product/class/api_products.class.php + - + message: '#^Method Products\:\:getPurchasePrices\(\) should return array\ but returns object\.$#' + identifier: return.type + count: 1 + path: ../../../htdocs/product/class/api_products.class.php + + - + message: '#^Unable to resolve the template type T in call to method Products\:\:_cleanObjectDatas\(\)$#' + identifier: argument.templateType + count: 1 + path: ../../../htdocs/product/class/api_products.class.php + - message: '#^Method Products\:\:getSubproducts\(\) return type has no value type specified in iterable type array\.$#' identifier: missingType.iterableValue @@ -21804,6 +21816,18 @@ parameters: count: 1 path: ../../../htdocs/projet/class/api_tasks.class.php + - + message: '#^Method Tasks\:\:getRoles\(\) should return array but returns list\\.$#' + identifier: return.type + count: 1 + path: ../../../htdocs/projet/class/api_tasks.class.php + + - + message: '#^Unable to resolve the template type T in call to method Tasks\:\:_cleanObjectDatas\(\)$#' + identifier: argument.templateType + count: 1 + path: ../../../htdocs/projet/class/api_tasks.class.php + - message: '#^Parameter \#1 \$object of method Tasks\:\:_cleanObjectDatas\(\) expects object, string given\.$#' identifier: argument.type