From b31f16c18f20bf38505202581cd8a80b77ba38b8 Mon Sep 17 00:00:00 2001 From: Dolibot Date: Sat, 29 Nov 2025 12:09:23 +0000 Subject: [PATCH] PHPStan > Update baseline --- dev/build/phpstan/phpstan-baseline.neon | 114 ------------------------ 1 file changed, 114 deletions(-) diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index 678d591e9ee..a7729ec1878 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -1578,18 +1578,6 @@ parameters: count: 1 path: ../../../htdocs/categories/categorie_list.php - - - message: '#^Method Categorie\:\:get_full_arbo\(\) should return \-1\|array\ but returns array\\.$#' - identifier: return.type - count: 1 - path: ../../../htdocs/categories/class/categorie.class.php - - - - message: '#^Property Categorie\:\:\$cats \(array\\) does not accept array\\.$#' - identifier: assign.propertyType - count: 2 - path: ../../../htdocs/categories/class/categorie.class.php - - message: '#^If condition is always true\.$#' identifier: if.alwaysTrue @@ -5646,48 +5634,6 @@ parameters: count: 1 path: ../../../htdocs/core/class/html.form.class.php - - - message: '#^Property Form\:\:\$cache_conditions_paiements has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/class/html.form.class.php - - - - message: '#^Property Form\:\:\$cache_demand_reason has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/class/html.form.class.php - - - - message: '#^Property Form\:\:\$cache_invoice_subtype has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/class/html.form.class.php - - - - message: '#^Property Form\:\:\$cache_transport_mode has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/class/html.form.class.php - - - - message: '#^Property Form\:\:\$cache_types_fees has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/class/html.form.class.php - - - - message: '#^Property Form\:\:\$cache_types_paiements has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/class/html.form.class.php - - - - message: '#^Property Form\:\:\$cache_vatrates has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/class/html.form.class.php - - message: '#^Right side of && is always true\.$#' identifier: booleanAnd.rightAlwaysTrue @@ -14004,18 +13950,6 @@ parameters: count: 1 path: ../../../htdocs/reception/card.php - - - message: '#^Loose comparison using \=\= between ''''\|''CommandeFournisseur'' and ''commande'' will always evaluate to false\.$#' - identifier: equal.alwaysFalse - count: 2 - path: ../../../htdocs/reception/card.php - - - - message: '#^Loose comparison using \=\= between ''''\|''CommandeFournisseur'' and ''propal'' will always evaluate to false\.$#' - identifier: equal.alwaysFalse - count: 2 - path: ../../../htdocs/reception/card.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue @@ -14028,12 +13962,6 @@ parameters: count: 1 path: ../../../htdocs/reception/card.php - - - message: '#^Result of && is always false\.$#' - identifier: booleanAnd.alwaysFalse - count: 8 - path: ../../../htdocs/reception/card.php - - message: '#^Variable \$extrafields in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -14184,24 +14112,6 @@ parameters: count: 2 path: ../../../htdocs/reception/contact.php - - - message: '#^Loose comparison using \=\= between ''''\|''CommandeFournisseur'' and ''commande'' will always evaluate to false\.$#' - identifier: equal.alwaysFalse - count: 1 - path: ../../../htdocs/reception/dispatch.php - - - - message: '#^Loose comparison using \=\= between ''''\|''CommandeFournisseur'' and ''propal'' will always evaluate to false\.$#' - identifier: equal.alwaysFalse - count: 1 - path: ../../../htdocs/reception/dispatch.php - - - - message: '#^Result of && is always false\.$#' - identifier: booleanAnd.alwaysFalse - count: 4 - path: ../../../htdocs/reception/dispatch.php - - message: '#^Variable \$objectsrc might not be defined\.$#' identifier: variable.undefined @@ -16044,12 +15954,6 @@ parameters: count: 1 path: ../../../htdocs/webhook/triggerhistory_list.php - - - message: '#^Loose comparison using \=\= between ''auto'' and ''auto'' will always evaluate to true\.$#' - identifier: equal.alwaysTrue - count: 1 - path: ../../../htdocs/webportal/class/context.class.php - - message: '#^Result of && is always false\.$#' identifier: booleanAnd.alwaysFalse @@ -16062,24 +15966,6 @@ parameters: count: 1 path: ../../../htdocs/webportal/class/html.formcardwebportal.class.php - - - message: '#^Comparison operation "\<\=" between int\<2, max\> and 1 is always false\.$#' - identifier: smallerOrEqual.alwaysFalse - count: 1 - path: ../../../htdocs/webportal/class/html.formlistwebportal.class.php - - - - message: '#^Offset ''total'' on \*NEVER\* in isset\(\) always exists and is not nullable\.$#' - identifier: isset.offset - count: 1 - path: ../../../htdocs/webportal/class/html.formlistwebportal.class.php - - - - message: '#^Result of && is always false\.$#' - identifier: booleanAnd.alwaysFalse - count: 1 - path: ../../../htdocs/webportal/class/html.formlistwebportal.class.php - - message: '#^Call to function is_array\(\) with list\ will always evaluate to true\.$#' identifier: function.alreadyNarrowedType