PHPStan > Update baseline (#35176)

Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-09-02 22:50:25 +02:00 committed by GitHub
parent cab15ca58e
commit 04d2e19bc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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