From e5ed2c83f03b73dfae0ee43f5e1d9c07793af2db Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Sep 2025 20:57:42 +0200 Subject: [PATCH] PHPStan > Update baseline (#35336) Co-authored-by: Dolibot --- dev/build/phpstan/phpstan-baseline.neon | 26 +------------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index 4436797b873..60740a20d71 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -5160,12 +5160,6 @@ parameters: count: 5 path: ../../../htdocs/core/actions_massactions.inc.php - - - message: '#^Variable \$holiday might not be defined\.$#' - identifier: variable.undefined - count: 3 - path: ../../../htdocs/core/actions_massactions.inc.php - - message: '#^Variable \$listofobjectthirdparties in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -7098,16 +7092,10 @@ parameters: count: 3 path: ../../../htdocs/core/class/html.formticket.class.php - - - message: '#^Call to function is_object\(\) with mixed will always evaluate to false\.$#' - identifier: function.impossibleType - count: 2 - path: ../../../htdocs/core/class/interfaces.class.php - - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' identifier: function.alreadyNarrowedType - count: 4 + count: 2 path: ../../../htdocs/core/class/interfaces.class.php - @@ -10410,18 +10398,6 @@ parameters: count: 1 path: ../../../htdocs/don/class/api_donations.class.php - - - message: '#^Call to function property_exists\(\) with \$this\(Don\) and ''societe'' will always evaluate to true\.$#' - identifier: function.alreadyNarrowedType - count: 1 - path: ../../../htdocs/don/class/don.class.php - - - - message: '#^Property Don\:\:\$societe \(string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/don/class/don.class.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue