mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°7059 - Symfony 6.4 - Add missing namespaces to match PSR-4 convention (#589)
This commit is contained in:
@@ -33,6 +33,9 @@
|
||||
* 'session_status': string 'start', 'continue' or 'end'
|
||||
* 'percent': integer 0..100 the percentage of completion once the file has been loaded
|
||||
*/
|
||||
|
||||
use Combodo\iTop\Application\WebPage\AjaxPage;
|
||||
|
||||
$bBypassMaintenance = true; // Reset maintenance mode in case of problem
|
||||
define('SAFE_MINIMUM_MEMORY', 64*1024*1024);
|
||||
require_once('../approot.inc.php');
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
|
||||
use Combodo\iTop\Application\Branding;
|
||||
use Combodo\iTop\Application\WebPage\iTopWebPage;
|
||||
use Combodo\iTop\Application\WebPage\Page;
|
||||
use Combodo\iTop\DesignElement;
|
||||
|
||||
require_once(APPROOT.'setup/setuputils.class.inc.php');
|
||||
@@ -578,7 +580,7 @@ EOF;
|
||||
}
|
||||
try
|
||||
{
|
||||
/** @var \iTopWebPage $oP */
|
||||
/** @var iTopWebPage $oP */
|
||||
$aMenuLines = $this->CompileMenu($oMenuNode, $sTempTargetDir, $sFinalTargetDir, $sRelativeDir, $oP);
|
||||
}
|
||||
catch (DOMFormatException $e)
|
||||
@@ -2744,7 +2746,7 @@ CSS;
|
||||
* @param string $sTempTargetDir
|
||||
* @param string $sFinalTargetDir
|
||||
* @param string $sModuleRelativeDir
|
||||
* @param \iTopWebPage $oP
|
||||
* @param iTopWebPage $oP
|
||||
*
|
||||
* @return array
|
||||
* @throws \DOMException
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
use Combodo\iTop\Application\UI\Base\Component\Title\Title;
|
||||
use Combodo\iTop\Application\UI\Base\Component\Title\TitleUIBlockFactory;
|
||||
use Combodo\iTop\Application\UI\Base\Layout\UIContentBlockUIBlockFactory;
|
||||
use Combodo\iTop\Application\WebPage\NiceWebPage;
|
||||
|
||||
require_once(APPROOT.'setup/modulediscovery.class.inc.php');
|
||||
require_once(APPROOT.'setup/runtimeenv.class.inc.php');
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with iTop. If not, see <http://www.gnu.org/licenses/>
|
||||
use Combodo\iTop\Application\Helper\Session;
|
||||
use Combodo\iTop\Application\WebPage\CLIPage;
|
||||
use Combodo\iTop\Application\WebPage\WebPage;
|
||||
|
||||
/**
|
||||
* The standardized result of any pass/fail check performed by the setup
|
||||
@@ -410,12 +412,12 @@ class SetupUtils
|
||||
/**
|
||||
* Call the platform checks. If those checks return CheckResult::ERROR, then output and log them, then exit. Otherwise just return.
|
||||
*
|
||||
* @param \CLIPage $oCliPage
|
||||
* @param CLIPage $oCliPage
|
||||
* @param int $iExitCode
|
||||
*
|
||||
* @uses CheckPhpAndExtensions
|
||||
* @uses \CheckResult::FilterCheckResultArray()
|
||||
* @uses \CLIPage::output()
|
||||
* @uses CLIPage::output()
|
||||
* @uses \IssueLog::Error()
|
||||
* @uses \exit()
|
||||
*
|
||||
@@ -1006,7 +1008,7 @@ class SetupUtils
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \WebPage $oPage
|
||||
* @param WebPage $oPage
|
||||
* @param boolean $bIsItopInstall true if we are installing, false if we're upgrading
|
||||
* @param string $sDBServer
|
||||
* @param string $sDBUser
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with iTop. If not, see <http://www.gnu.org/licenses/>
|
||||
use Combodo\iTop\Application\UI\Base\Component\Html\Html;
|
||||
use Combodo\iTop\Application\WebPage\WebPage;
|
||||
|
||||
/**
|
||||
* Engine for displaying the various pages of a "wizard"
|
||||
|
||||
@@ -39,6 +39,8 @@
|
||||
* WizStepDone
|
||||
*/
|
||||
|
||||
use Combodo\iTop\Application\WebPage\WebPage;
|
||||
|
||||
require_once(APPROOT.'setup/setuputils.class.inc.php');
|
||||
require_once(APPROOT.'setup/parameters.class.inc.php');
|
||||
require_once(APPROOT.'setup/applicationinstaller.class.inc.php');
|
||||
@@ -460,11 +462,11 @@ class WizStepDetectedInfo extends WizardStep
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \WebPage $oPage
|
||||
* @param WebPage $oPage
|
||||
*
|
||||
* @throws \Exception
|
||||
* @throws Exception
|
||||
*/
|
||||
public function Display(\WebPage $oPage)
|
||||
public function Display(WebPage $oPage)
|
||||
{
|
||||
$oPage->add_style(
|
||||
<<<EOF
|
||||
|
||||
Reference in New Issue
Block a user