From 04d2e19bc08c0617c609c52dae187ddc8766de06 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 2 Sep 2025 22:50:25 +0200 Subject: [PATCH] PHPStan > Update baseline (#35176) Co-authored-by: Dolibot --- dev/build/phpstan/phpstan-baseline.neon | 50 +------------------------ 1 file changed, 1 insertion(+), 49 deletions(-) diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index fa230232d56..e79412e74c3 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -2154,12 +2154,6 @@ parameters: count: 1 path: ../../../htdocs/bom/tpl/objectline_create.tpl.php - - - message: '#^Variable \$action might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/bom/tpl/objectline_create.tpl.php - - message: '#^Call to function is_object\(\) with BOMLine will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -18276,24 +18270,12 @@ parameters: count: 1 path: ../../../htdocs/public/project/index.php - - - message: '#^Variable \$user might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/public/project/index.php - - message: '#^Call to function is_numeric\(\) with int will always evaluate to true\.$#' identifier: function.alreadyNarrowedType count: 1 path: ../../../htdocs/public/project/new.php - - - message: '#^Variable \$user might not be defined\.$#' - identifier: variable.undefined - count: 4 - path: ../../../htdocs/public/project/new.php - - message: '#^Call to function is_numeric\(\) with int will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -18330,12 +18312,6 @@ parameters: count: 2 path: ../../../htdocs/public/project/suggestbooth.php - - - message: '#^Variable \$user might not be defined\.$#' - identifier: variable.undefined - count: 8 - path: ../../../htdocs/public/project/suggestbooth.php - - message: '#^Call to function is_numeric\(\) with int will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -18369,7 +18345,7 @@ parameters: - message: '#^Variable \$errors might not be defined\.$#' identifier: variable.undefined - count: 3 + count: 1 path: ../../../htdocs/public/project/suggestconference.php - @@ -18384,12 +18360,6 @@ parameters: count: 2 path: ../../../htdocs/public/project/suggestconference.php - - - message: '#^Variable \$user might not be defined\.$#' - identifier: variable.undefined - count: 7 - path: ../../../htdocs/public/project/suggestconference.php - - message: '#^Call to function is_numeric\(\) with int will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -18402,12 +18372,6 @@ parameters: count: 2 path: ../../../htdocs/public/project/viewandvote.php - - - message: '#^Variable \$user might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/public/project/viewandvote.php - - message: '#^Left side of && is always true\.$#' identifier: booleanAnd.leftAlwaysTrue @@ -20256,12 +20220,6 @@ parameters: count: 6 path: ../../../htdocs/supplier_proposal/class/supplier_proposal.class.php - - - message: '#^Property SupplierProposal\:\:\$statut \(int\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/supplier_proposal/class/supplier_proposal.class.php - - message: '#^Property SupplierProposalLine\:\:\$info_bits \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -21876,12 +21834,6 @@ parameters: count: 2 path: ../../../scripts/emailings/mailing-send.php - - - message: '#^Variable \$statut might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../scripts/emailings/mailing-send.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue