From 70a7554f87bfb8a3ddaf3fba901b86bf3515f036 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 17 Oct 2025 01:52:46 +0200 Subject: [PATCH] PHPStan > Update baseline (#35789) Co-authored-by: Dolibot Co-authored-by: Laurent Destailleur --- dev/build/phpstan/phpstan-baseline.neon | 54 ++----------------------- 1 file changed, 3 insertions(+), 51 deletions(-) diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index f459132b105..fe6cfca5eab 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -5271,7 +5271,7 @@ parameters: - message: '#^Call to function is_array\(\) with list\ will always evaluate to true\.$#' identifier: function.alreadyNarrowedType - count: 9 + count: 8 path: ../../../htdocs/core/class/commonobject.class.php - @@ -5823,7 +5823,7 @@ parameters: - message: '#^Call to function is_array\(\) with list\ will always evaluate to true\.$#' identifier: function.alreadyNarrowedType - count: 11 + count: 10 path: ../../../htdocs/core/class/extrafields.class.php - @@ -8958,18 +8958,6 @@ parameters: count: 1 path: ../../../htdocs/core/tpl/objectline_title.tpl.php - - - message: '#^Variable \$outputalsopricetotalwithtax might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/core/tpl/objectline_title.tpl.php - - - - message: '#^Variable \$usemargins might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/core/tpl/objectline_title.tpl.php - - message: '#^Ternary operator condition is always false\.$#' identifier: ternary.alwaysFalse @@ -9168,24 +9156,6 @@ parameters: count: 1 path: ../../../htdocs/document.php - - - message: '#^Variable \$maxlength might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/don/document.php - - - - message: '#^Variable \$maxlength might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/don/info.php - - - - message: '#^Variable \$maxlength might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/don/note.php - - message: '#^If condition is always false\.$#' identifier: if.alwaysFalse @@ -13434,12 +13404,6 @@ parameters: count: 1 path: ../../../htdocs/product/stock/movement_list.php - - - message: '#^Variable \$listofobjectref might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/product/stock/movement_list.php - - message: '#^Variable \$month might not be defined\.$#' identifier: variable.undefined @@ -15846,18 +15810,6 @@ parameters: count: 1 path: ../../../htdocs/salaries/list.php - - - message: '#^Comparison operation "\>" between 1 and 1 is always false\.$#' - identifier: greater.alwaysFalse - count: 1 - path: ../../../htdocs/salaries/payment_salary.php - - - - message: '#^Negated boolean expression is always true\.$#' - identifier: booleanNot.alwaysTrue - count: 2 - path: ../../../htdocs/salaries/payment_salary.php - - message: '#^Negated boolean expression is always false\.$#' identifier: booleanNot.alwaysFalse @@ -17451,7 +17403,7 @@ parameters: - message: '#^Call to function is_array\(\) with list\ will always evaluate to true\.$#' identifier: function.alreadyNarrowedType - count: 8 + count: 7 path: ../../../htdocs/webportal/class/html.formwebportal.class.php -