mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
PHPStan > Update baseline
This commit is contained in:
parent
1062c736de
commit
4e1a319113
|
|
@ -9540,12 +9540,6 @@ parameters:
|
|||
count: 1
|
||||
path: ../../../htdocs/core/class/dolgraph.class.php
|
||||
|
||||
-
|
||||
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
|
||||
identifier: greater.alwaysFalse
|
||||
count: 3
|
||||
path: ../../../htdocs/core/class/dolgraph.class.php
|
||||
|
||||
-
|
||||
message: '#^If condition is always false\.$#'
|
||||
identifier: if.alwaysFalse
|
||||
|
|
@ -9564,24 +9558,6 @@ parameters:
|
|||
count: 1
|
||||
path: ../../../htdocs/core/class/dolgraph.class.php
|
||||
|
||||
-
|
||||
message: '#^Loose comparison using \=\= between 0 and 0 will always evaluate to true\.$#'
|
||||
identifier: equal.alwaysTrue
|
||||
count: 2
|
||||
path: ../../../htdocs/core/class/dolgraph.class.php
|
||||
|
||||
-
|
||||
message: '#^Loose comparison using \=\= between 1 and 3 will always evaluate to false\.$#'
|
||||
identifier: equal.alwaysFalse
|
||||
count: 1
|
||||
path: ../../../htdocs/core/class/dolgraph.class.php
|
||||
|
||||
-
|
||||
message: '#^Offset 0 on array\{array\{stacknum\: int, legend\: mixed, legendwithgroup\: non\-falsy\-string\}\} in empty\(\) always exists and is not falsy\.$#'
|
||||
identifier: empty.offset
|
||||
count: 1
|
||||
path: ../../../htdocs/core/class/dolgraph.class.php
|
||||
|
||||
-
|
||||
message: '#^Ternary operator condition is always true\.$#'
|
||||
identifier: ternary.alwaysTrue
|
||||
|
|
@ -14670,24 +14646,12 @@ parameters:
|
|||
count: 12
|
||||
path: ../../../htdocs/core/tpl/card_presend.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$hidedesc might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../../htdocs/core/tpl/card_presend.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$hidedetails might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../../htdocs/core/tpl/card_presend.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$hideref might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../../htdocs/core/tpl/card_presend.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$hookmanager might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
|
|
@ -15444,12 +15408,6 @@ parameters:
|
|||
count: 1
|
||||
path: ../../../htdocs/cron/list.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$texttoshow might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../../htdocs/cron/list.php
|
||||
|
||||
-
|
||||
message: '#^Offset ''css'' on array\{css\: ''minwidth200'', picto\: mixed\} in empty\(\) always exists and is not falsy\.$#'
|
||||
identifier: empty.offset
|
||||
|
|
@ -15510,12 +15468,6 @@ parameters:
|
|||
count: 1
|
||||
path: ../../../htdocs/delivery/card.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$arrayoptions might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../../htdocs/delivery/card.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$hidedesc might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
|
|
@ -15786,42 +15738,12 @@ parameters:
|
|||
count: 1
|
||||
path: ../../../htdocs/don/paiement/list.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$morecss might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../../htdocs/don/paiement/list.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$morejs might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../../htdocs/don/paiement/list.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$outputlangs might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../../htdocs/don/payment/card.php
|
||||
|
||||
-
|
||||
message: '#^Negated boolean expression is always true\.$#'
|
||||
identifier: booleanNot.alwaysTrue
|
||||
count: 1
|
||||
path: ../../../htdocs/don/payment/payment.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$sumpaid might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 3
|
||||
path: ../../../htdocs/don/payment/payment.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$objectlink might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../../htdocs/don/tpl/linkedobjectblock.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Property EcmFiles\:\:\$acl \(string\) in isset\(\) is not nullable\.$#'
|
||||
identifier: isset.property
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user