mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
fix phpstan
This commit is contained in:
@@ -21858,24 +21858,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/install/check.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$conf might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 19
|
||||
path: ../../htdocs/install/check.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$conffile might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 19
|
||||
path: ../../htdocs/install/check.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$conffiletoshow might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 13
|
||||
path: ../../htdocs/install/check.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$db might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2015-2016 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
* 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
|
||||
@@ -32,6 +32,7 @@
|
||||
define('ALLOWED_IF_UPGRADE_UNLOCK_FOUND', 1);
|
||||
include_once 'inc.php';
|
||||
/**
|
||||
* @var Conf $conf already created in inc.php
|
||||
* @var Translate $langs
|
||||
*
|
||||
* @var string $dolibarr_main_db_host
|
||||
@@ -39,6 +40,8 @@ include_once 'inc.php';
|
||||
* @var string $dolibarr_main_db_name
|
||||
* @var string $dolibarr_main_db_user
|
||||
* @var string $dolibarr_main_db_pass
|
||||
* @var string $conffile
|
||||
* @var string $conffiletoshow
|
||||
*/
|
||||
|
||||
$err = 0;
|
||||
|
||||
Reference in New Issue
Block a user