PHPStan > Update baseline (#34838)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
This commit is contained in:
parent
d6e0d9ad34
commit
5a6654890c
1 changed files with 5 additions and 59 deletions
|
|
@ -3168,12 +3168,6 @@ parameters:
|
|||
count: 2
|
||||
path: ../../../htdocs/comm/action/pertype.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$string of function urlencode expects string, int\<0, 23\> given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: ../../../htdocs/comm/action/pertype.php
|
||||
|
||||
-
|
||||
message: '#^Result of && is always false\.$#'
|
||||
identifier: booleanAnd.alwaysFalse
|
||||
|
|
@ -3252,12 +3246,6 @@ parameters:
|
|||
count: 2
|
||||
path: ../../../htdocs/comm/action/peruser.php
|
||||
|
||||
-
|
||||
message: '#^Ternary operator condition is always true\.$#'
|
||||
identifier: ternary.alwaysTrue
|
||||
count: 4
|
||||
path: ../../../htdocs/comm/action/peruser.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$labelbytype might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
|
|
@ -10041,7 +10029,7 @@ parameters:
|
|||
-
|
||||
message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\<float\>\|float\) in isset\(\) is not nullable\.$#'
|
||||
identifier: isset.property
|
||||
count: 5
|
||||
count: 3
|
||||
path: ../../../htdocs/core/modules/commande/doc/pdf_einstein.modules.php
|
||||
|
||||
-
|
||||
|
|
@ -10065,7 +10053,7 @@ parameters:
|
|||
-
|
||||
message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\<float\>\|float\) in isset\(\) is not nullable\.$#'
|
||||
identifier: isset.property
|
||||
count: 5
|
||||
count: 4
|
||||
path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php
|
||||
|
||||
-
|
||||
|
|
@ -10197,7 +10185,7 @@ parameters:
|
|||
-
|
||||
message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\<float\>\|float\) in isset\(\) is not nullable\.$#'
|
||||
identifier: isset.property
|
||||
count: 5
|
||||
count: 4
|
||||
path: ../../../htdocs/core/modules/facture/doc/pdf_crabe.modules.php
|
||||
|
||||
-
|
||||
|
|
@ -10263,7 +10251,7 @@ parameters:
|
|||
-
|
||||
message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\<float\>\|float\) in isset\(\) is not nullable\.$#'
|
||||
identifier: isset.property
|
||||
count: 5
|
||||
count: 3
|
||||
path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php
|
||||
|
||||
-
|
||||
|
|
@ -11271,7 +11259,7 @@ parameters:
|
|||
-
|
||||
message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\<float\>\|float\) in isset\(\) is not nullable\.$#'
|
||||
identifier: isset.property
|
||||
count: 5
|
||||
count: 4
|
||||
path: ../../../htdocs/core/modules/propale/doc/pdf_azur.modules.php
|
||||
|
||||
-
|
||||
|
|
@ -11808,12 +11796,6 @@ parameters:
|
|||
count: 1
|
||||
path: ../../../htdocs/core/tpl/objectline_title.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$conf might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 2
|
||||
path: ../../../htdocs/core/tpl/objectline_title.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$outputalsopricetotalwithtax might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
|
|
@ -12096,30 +12078,12 @@ parameters:
|
|||
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
|
||||
count: 1
|
||||
path: ../../../htdocs/datapolicy/admin/setup.php
|
||||
|
||||
-
|
||||
message: '#^If condition is always false\.$#'
|
||||
identifier: if.alwaysFalse
|
||||
count: 3
|
||||
path: ../../../htdocs/datapolicy/class/datapolicy.class.php
|
||||
|
||||
-
|
||||
message: '#^Loose comparison using \=\= between ''anonymize'' and ''anonymize'' will always evaluate to true\.$#'
|
||||
identifier: equal.alwaysTrue
|
||||
count: 1
|
||||
path: ../../../htdocs/datapolicy/class/datapolicycron.class.php
|
||||
|
||||
-
|
||||
message: '#^Loose comparison using \=\= between ''anonymize'' and ''delete'' will always evaluate to false\.$#'
|
||||
identifier: equal.alwaysFalse
|
||||
count: 1
|
||||
path: ../../../htdocs/datapolicy/class/datapolicycron.class.php
|
||||
|
||||
-
|
||||
message: '#^Method CdavLib\:\:getFullCalendarObjects\(\) should return array\<array\<string\>\> but returns list\<array\<string, int\|string\|false\>\>\.$#'
|
||||
identifier: return.type
|
||||
|
|
@ -13290,18 +13254,6 @@ parameters:
|
|||
count: 1
|
||||
path: ../../../htdocs/expensereport/card.php
|
||||
|
||||
-
|
||||
message: '#^Loose comparison using \=\= between 1 and 0 will always evaluate to false\.$#'
|
||||
identifier: equal.alwaysFalse
|
||||
count: 1
|
||||
path: ../../../htdocs/expensereport/card.php
|
||||
|
||||
-
|
||||
message: '#^Result of && is always false\.$#'
|
||||
identifier: booleanAnd.alwaysFalse
|
||||
count: 2
|
||||
path: ../../../htdocs/expensereport/card.php
|
||||
|
||||
-
|
||||
message: '#^Ternary operator condition is always false\.$#'
|
||||
identifier: ternary.alwaysFalse
|
||||
|
|
@ -16080,12 +16032,6 @@ parameters:
|
|||
count: 1
|
||||
path: ../../../htdocs/main.inc.php
|
||||
|
||||
-
|
||||
message: '#^Call to preg_quote\(\) is missing delimiter / to be effective\.$#'
|
||||
identifier: argument.invalidPregQuote
|
||||
count: 3
|
||||
path: ../../../htdocs/main.inc.php
|
||||
|
||||
-
|
||||
message: '#^Elseif condition is always true\.$#'
|
||||
identifier: elseif.alwaysTrue
|
||||
|
|
|
|||
Loading…
Reference in a new issue