Compare commits

...

1 Commits

Author SHA1 Message Date
Dolibot
90a4f466e5 PHPStan > Update baseline 2026-01-06 12:11:01 +00:00

View File

@@ -2643,7 +2643,7 @@ parameters:
-
message: '#^Loose comparison using \=\= between ''create''\|''start'' and ''close'' will always evaluate to false\.$#'
identifier: equal.alwaysFalse
count: 2
count: 1
path: ../../../htdocs/compta/cashcontrol/cashcontrol_card.php
-
@@ -6849,7 +6849,7 @@ parameters:
-
message: '#^Left side of \|\| is always true\.$#'
identifier: booleanOr.leftAlwaysTrue
count: 4
count: 3
path: ../../../htdocs/core/menus/standard/eldy.lib.php
-
@@ -9024,18 +9024,6 @@ parameters:
count: 1
path: ../../../htdocs/fourn/class/fournisseur.commande.class.php
-
message: '#^Call to function property_exists\(\) with \$this\(CommandeFournisseur\) and ''socid'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: ../../../htdocs/fourn/class/fournisseur.commande.class.php
-
message: '#^Call to function property_exists\(\) with \$this\(CommandeFournisseur\) and ''total_tva'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: ../../../htdocs/fourn/class/fournisseur.commande.class.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
@@ -14742,12 +14730,6 @@ parameters:
count: 1
path: ../../../htdocs/societe/paymentmodes.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: ../../../htdocs/societe/paymentmodes.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
@@ -15594,12 +15576,6 @@ parameters:
count: 1
path: ../../../htdocs/user/group/list.php
-
message: '#^Variable \$mc might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/user/group/list.php
-
message: '#^Variable \$mc might not be defined\.$#'
identifier: variable.undefined