PHPStan > Update baseline (#35789)

Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
github-actions[bot]
2025-10-17 01:52:46 +02:00
committed by GitHub
parent 67428766a2
commit 70a7554f87

View File

@@ -5271,7 +5271,7 @@ parameters:
-
message: '#^Call to function is_array\(\) with list\<string\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 9
count: 8
path: ../../../htdocs/core/class/commonobject.class.php
-
@@ -5823,7 +5823,7 @@ parameters:
-
message: '#^Call to function is_array\(\) with list\<string\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 11
count: 10
path: ../../../htdocs/core/class/extrafields.class.php
-
@@ -8958,18 +8958,6 @@ parameters:
count: 1
path: ../../../htdocs/core/tpl/objectline_title.tpl.php
-
message: '#^Variable \$outputalsopricetotalwithtax might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/core/tpl/objectline_title.tpl.php
-
message: '#^Variable \$usemargins might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/core/tpl/objectline_title.tpl.php
-
message: '#^Ternary operator condition is always false\.$#'
identifier: ternary.alwaysFalse
@@ -9168,24 +9156,6 @@ parameters:
count: 1
path: ../../../htdocs/document.php
-
message: '#^Variable \$maxlength might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/don/document.php
-
message: '#^Variable \$maxlength might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/don/info.php
-
message: '#^Variable \$maxlength might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/don/note.php
-
message: '#^If condition is always false\.$#'
identifier: if.alwaysFalse
@@ -13434,12 +13404,6 @@ parameters:
count: 1
path: ../../../htdocs/product/stock/movement_list.php
-
message: '#^Variable \$listofobjectref might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/product/stock/movement_list.php
-
message: '#^Variable \$month might not be defined\.$#'
identifier: variable.undefined
@@ -15846,18 +15810,6 @@ parameters:
count: 1
path: ../../../htdocs/salaries/list.php
-
message: '#^Comparison operation "\>" between 1 and 1 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: ../../../htdocs/salaries/payment_salary.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 2
path: ../../../htdocs/salaries/payment_salary.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
@@ -17451,7 +17403,7 @@ parameters:
-
message: '#^Call to function is_array\(\) with list\<string\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 8
count: 7
path: ../../../htdocs/webportal/class/html.formwebportal.class.php
-