From d236e52d5c4e5659bb876a8ce2337acb4c5a93ef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 16 Apr 2025 19:00:01 +0200 Subject: [PATCH] PHPStan > Update baseline (#33873) Co-authored-by: Dolibot Co-authored-by: Laurent Destailleur --- dev/build/phpstan/phpstan-baseline.neon | 30 ------------------------- 1 file changed, 30 deletions(-) diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index e996d06d31e..d554a48e2ba 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -636,12 +636,6 @@ parameters: count: 1 path: ../../../htdocs/accountancy/customer/list.php - - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/customer/list.php - - message: '#^Right side of && is always true\.$#' identifier: booleanAnd.rightAlwaysTrue @@ -678,12 +672,6 @@ parameters: count: 1 path: ../../../htdocs/accountancy/expensereport/list.php - - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/expensereport/list.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue @@ -804,12 +792,6 @@ parameters: count: 2 path: ../../../htdocs/accountancy/supplier/list.php - - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/supplier/list.php - - message: '#^Variable \$mc might not be defined\.$#' identifier: variable.undefined @@ -2106,12 +2088,6 @@ parameters: count: 1 path: ../../../htdocs/asset/class/asset.class.php - - - message: '#^Loose comparison using \=\= between 9 and 0 will always evaluate to false\.$#' - identifier: equal.alwaysFalse - count: 1 - path: ../../../htdocs/asset/class/asset.class.php - - message: '#^Property Asset\:\:\$date_start \(int\|string\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -15144,12 +15120,6 @@ parameters: count: 1 path: ../../../htdocs/fourn/facture/paiement.php - - - message: '#^Variable \$moreforfilter might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/fourn/facture/paiement.php - - message: '#^Variable \$obj might not be defined\.$#' identifier: variable.undefined