* add doc

* add doc
This commit is contained in:
Frédéric FRANCE 2025-08-27 03:12:48 +02:00 committed by GitHub
parent aa8ddce4d8
commit c5f9f35ea9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 36 deletions

View file

@ -1512,36 +1512,6 @@ parameters:
count: 1
path: ../../../htdocs/admin/tools/dolibarr_export.php
-
message: '#^Variable \$dolibarr_main_db_name might not be defined\.$#'
identifier: variable.undefined
count: 4
path: ../../../htdocs/admin/tools/dolibarr_export.php
-
message: '#^Variable \$dolibarr_main_db_user might not be defined\.$#'
identifier: variable.undefined
count: 2
path: ../../../htdocs/admin/tools/dolibarr_export.php
-
message: '#^Variable \$dolibarr_main_db_host might not be defined\.$#'
identifier: variable.undefined
count: 2
path: ../../../htdocs/admin/tools/dolibarr_import.php
-
message: '#^Variable \$dolibarr_main_db_name might not be defined\.$#'
identifier: variable.undefined
count: 4
path: ../../../htdocs/admin/tools/dolibarr_import.php
-
message: '#^Variable \$dolibarr_main_db_user might not be defined\.$#'
identifier: variable.undefined
count: 2
path: ../../../htdocs/admin/tools/dolibarr_import.php
-
message: '#^Variable \$ExecTimeLimit in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable

View file

@ -1,7 +1,7 @@
<?php
/* Copyright (C) 2006-2018 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2006-2021 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
/* Copyright (C) 2006-2018 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2006-2021 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2024-2025 Frédéric France <frederic.france@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -30,6 +30,8 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
/**
* @var string $dolibarr_main_db_name
* @var string $dolibarr_main_db_user
* @var Conf $conf
* @var DoliDB $db
* @var HookManager $hookmanager

View file

@ -1,7 +1,7 @@
<?php
/* Copyright (C) 2006-2021 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2006-2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
/* Copyright (C) 2006-2021 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2006-2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2024-2025 Frédéric France <frederic.france@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -31,6 +31,9 @@ if (! defined('CSRFCHECK_WITH_TOKEN')) {
require '../../main.inc.php';
/**
* @var string $dolibarr_main_db_host
* @var string $dolibarr_main_db_name
* @var string $dolibarr_main_db_user
* @var Conf $conf
* @var DoliDB $db
* @var HookManager $hookmanager