PHPStan > Update baseline (#34658)

Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-06-28 15:24:38 +02:00 committed by GitHub
parent 7013499dfa
commit 30577d1672
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -972,12 +972,6 @@ parameters:
count: 1
path: ../../../htdocs/adherents/list.php
-
message: '#^Variable \$diroutputmassaction might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/adherents/list.php
-
message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
@ -1860,12 +1854,6 @@ parameters:
count: 2
path: ../../../htdocs/api/class/api_documents.class.php
-
message: '#^Loose comparison using \!\= between ''adherent''\|''agenda''\|''commande''\|''contact''\|''contrat''\|''expensereport''\|''facture''\|''fichinter''\|''mrp''\|''product''\|''produit''\|''produit\|service''\|''project''\|''project_task''\|''projet''\|''propale''\|''service''\|''supplier_invoice''\|''supplier_order'' and ''ecm'' will always evaluate to true\.$#'
identifier: notEqual.alwaysTrue
count: 1
path: ../../../htdocs/api/class/api_documents.class.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
@ -3273,7 +3261,7 @@ parameters:
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 6
count: 4
path: ../../../htdocs/comm/action/peruser.php
-
@ -6678,12 +6666,6 @@ parameters:
count: 1
path: ../../../htdocs/core/actions_setmoduleoptions.inc.php
-
message: '#^Variable \$modulepart might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/core/actions_setmoduleoptions.inc.php
-
message: '#^Variable \$result might not be defined\.$#'
identifier: variable.undefined
@ -19368,12 +19350,6 @@ parameters:
count: 1
path: ../../../htdocs/projet/element.php
-
message: '#^Variable \$margin in isset\(\) always exists and is not nullable\.$#'
identifier: isset.variable
count: 2
path: ../../../htdocs/projet/element.php
-
message: '#^Variable \$total_time in isset\(\) always exists and is not nullable\.$#'
identifier: isset.variable