Qual: Ignore phpstan notices requiring deeper analysis

This commit is contained in:
MDW 2025-03-03 19:33:44 +01:00
parent f625f8de60
commit 4cc09b5149
No known key found for this signature in database

View file

@ -20214,6 +20214,18 @@ parameters:
count: 1
path: ../../../htdocs/product/class/api_products.class.php
-
message: '#^Method Products\:\:getPurchasePrices\(\) should return array\<ProductFournisseur\> 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<int, string> but returns list\<object\>\.$#'
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