From 4d789aeccc8316fe60a0fdbd7da8103edbaf5d3e Mon Sep 17 00:00:00 2001 From: Timothee Date: Thu, 12 Feb 2026 11:45:46 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B09144=20Code=20style?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/runtimeenv.class.inc.php | 5 +++-- setup/wizardsteps/AbstractWizStepInstall.php | 1 + setup/wizardsteps/WizStepModulesChoice.php | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/setup/runtimeenv.class.inc.php b/setup/runtimeenv.class.inc.php index bcae5f90f..836721457 100644 --- a/setup/runtimeenv.class.inc.php +++ b/setup/runtimeenv.class.inc.php @@ -33,7 +33,7 @@ require_once APPROOT.'setup/modelfactory.class.inc.php'; require_once APPROOT.'setup/compiler.class.inc.php'; require_once APPROOT.'setup/extensionsmap.class.inc.php'; require_once APPROOT.'setup/moduleinstallation/AnalyzeInstallation.php'; -require_once APPROOT . '/setup/moduleinstallation/InstallationChoicesToModuleConverter.php'; +require_once APPROOT.'/setup/moduleinstallation/InstallationChoicesToModuleConverter.php'; define('MODULE_ACTION_OPTIONAL', 1); define('MODULE_ACTION_MANDATORY', 2); @@ -226,7 +226,8 @@ class RunTimeEnvironment return ($oExtension->sSource == iTopExtension::SOURCE_REMOTE); } - public function GetExtraDirsToCompile(string $sSourceDir) : array { + public function GetExtraDirsToCompile(string $sSourceDir): array + { $sSourceDirFull = APPROOT.$sSourceDir; if (!is_dir($sSourceDirFull)) { throw new Exception("The source directory '$sSourceDirFull' does not exist (or could not be read)"); diff --git a/setup/wizardsteps/AbstractWizStepInstall.php b/setup/wizardsteps/AbstractWizStepInstall.php index 58deb024d..923bd9c50 100644 --- a/setup/wizardsteps/AbstractWizStepInstall.php +++ b/setup/wizardsteps/AbstractWizStepInstall.php @@ -1,4 +1,5 @@