fix phpstan

This commit is contained in:
Frédéric France 2024-12-14 21:15:27 +01:00
parent 0325ee6d6d
commit 9eea4d68e2
No known key found for this signature in database
GPG Key ID: CE25B0B7B53B9177
2 changed files with 3 additions and 12 deletions

View File

@ -1722,18 +1722,6 @@ parameters:
count: 1
path: ../../htdocs/admin/system/security.php
-
message: '#^Variable \$arrayofstreamtodisable might not be defined\.$#'
identifier: variable.undefined
count: 1
path: ../../htdocs/admin/system/security.php
-
message: '#^Variable \$conffile might not be defined\.$#'
identifier: variable.undefined
count: 4
path: ../../htdocs/admin/system/security.php
-
message: '#^Variable \$dolibarr_main_document_root might not be defined\.$#'
identifier: variable.undefined

View File

@ -38,6 +38,9 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/events.class.php';
* @var HookManager $hookmanager
* @var Translate $langs
* @var User $user
*
* @var string[] $arrayofstreamtodisable // $arrayofstreamtodisable is defined into filefunc.inc.php
* @var string $conffile // $conffile is defined into filefunc.inc.php
*/
// Load translation files required by the page