Compare commits

...

1 Commits

Author SHA1 Message Date
Dolibot
f3d0aad269 PHPStan > Update baseline 2026-02-25 12:18:25 +00:00

View File

@@ -714,12 +714,6 @@ parameters:
count: 1 count: 1
path: ../../../htdocs/admin/system/database.php path: ../../../htdocs/admin/system/database.php
-
message: '#^Variable \$row might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/admin/system/dbtable.php
- -
message: '#^Loose comparison using \!\= between '',''\|''\.'' and '' '' will always evaluate to true\.$#' message: '#^Loose comparison using \!\= between '',''\|''\.'' and '' '' will always evaluate to true\.$#'
identifier: notEqual.alwaysTrue identifier: notEqual.alwaysTrue
@@ -750,12 +744,6 @@ parameters:
count: 1 count: 1
path: ../../../htdocs/admin/system/phpinfo.php path: ../../../htdocs/admin/system/phpinfo.php
-
message: '#^Variable \$title in isset\(\) always exists and is not nullable\.$#'
identifier: isset.variable
count: 1
path: ../../../htdocs/admin/system/phpinfo.php
- -
message: '#^Call to function function_exists\(\) with ''exec''\|''popen'' will always evaluate to true\.$#' message: '#^Call to function function_exists\(\) with ''exec''\|''popen'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType identifier: function.alreadyNarrowedType
@@ -780,12 +768,6 @@ parameters:
count: 1 count: 1
path: ../../../htdocs/admin/tools/dolibarr_export.php path: ../../../htdocs/admin/tools/dolibarr_export.php
-
message: '#^Variable \$massaction might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/admin/tools/export.php
- -
message: '#^Right side of && is always true\.$#' message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue identifier: booleanAnd.rightAlwaysTrue
@@ -822,24 +804,6 @@ parameters:
count: 1 count: 1
path: ../../../htdocs/admin/tools/ui/class/documentation.class.php path: ../../../htdocs/admin/tools/ui/class/documentation.class.php
-
message: '#^Method Documentation\:\:showCode\(\) has parameter \$lines with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: ../../../htdocs/admin/tools/ui/class/documentation.class.php
-
message: '#^Property Documentation\:\:\$menu type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: ../../../htdocs/admin/tools/ui/class/documentation.class.php
-
message: '#^Property Documentation\:\:\$summary type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: ../../../htdocs/admin/tools/ui/class/documentation.class.php
- -
message: '#^Property Documentation\:\:\$view type has no value type specified in iterable type array\.$#' message: '#^Property Documentation\:\:\$view type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue identifier: missingType.iterableValue
@@ -1092,12 +1056,6 @@ parameters:
count: 1 count: 1
path: ../../../htdocs/barcode/printsheet.php path: ../../../htdocs/barcode/printsheet.php
-
message: '#^Variable \$code might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/barcode/printsheet.php
- -
message: '#^Strict comparison using \=\=\= between ''facture'' and ''facture'' will always evaluate to true\.$#' message: '#^Strict comparison using \=\=\= between ''facture'' and ''facture'' will always evaluate to true\.$#'
identifier: identical.alwaysTrue identifier: identical.alwaysTrue
@@ -6762,12 +6720,6 @@ parameters:
count: 1 count: 1
path: ../../../htdocs/core/tpl/filemanager.tpl.php path: ../../../htdocs/core/tpl/filemanager.tpl.php
-
message: '#^Variable \$num might not be defined\.$#'
identifier: variable.undefined
count: 2
path: ../../../htdocs/core/tpl/list_print_total.tpl.php
- -
message: '#^Variable \$sql might not be defined\.$#' message: '#^Variable \$sql might not be defined\.$#'
identifier: variable.undefined identifier: variable.undefined
@@ -8442,12 +8394,6 @@ parameters:
count: 4 count: 4
path: ../../../htdocs/intracommreport/lib/intracommreport.lib.php path: ../../../htdocs/intracommreport/lib/intracommreport.lib.php
-
message: '#^Variable \$groupby might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/intracommreport/list.php
- -
message: '#^Variable \$type might not be defined\.$#' message: '#^Variable \$type might not be defined\.$#'
identifier: variable.undefined identifier: variable.undefined
@@ -11970,12 +11916,6 @@ parameters:
count: 2 count: 2
path: ../../../htdocs/takepos/invoice.php path: ../../../htdocs/takepos/invoice.php
-
message: '#^Variable \$batch might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/takepos/invoice.php
- -
message: '#^Variable \$body_ticket might not be defined\.$#' message: '#^Variable \$body_ticket might not be defined\.$#'
identifier: variable.undefined identifier: variable.undefined
@@ -12330,12 +12270,6 @@ parameters:
count: 1 count: 1
path: ../../../htdocs/user/notify/card.php path: ../../../htdocs/user/notify/card.php
-
message: '#^Variable \$num might not be defined\.$#'
identifier: variable.undefined
count: 5
path: ../../../htdocs/user/notify/card.php
- -
message: '#^Variable \$dolibarr_main_authentication might not be defined\.$#' message: '#^Variable \$dolibarr_main_authentication might not be defined\.$#'
identifier: variable.undefined identifier: variable.undefined
@@ -12756,18 +12690,6 @@ parameters:
count: 1 count: 1
path: ../../../htdocs/website/samples/wrapper.php path: ../../../htdocs/website/samples/wrapper.php
-
message: '#^Variable \$val might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/workstation/workstation_list.php
-
message: '#^Variable \$visible might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../../htdocs/workstation/workstation_list.php
- -
message: '#^Variable \$num in isset\(\) always exists and is not nullable\.$#' message: '#^Variable \$num in isset\(\) always exists and is not nullable\.$#'
identifier: isset.variable identifier: isset.variable