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