From d358c41c24c856208717395801d7872a27aadb2a Mon Sep 17 00:00:00 2001 From: Timmy38 Date: Fri, 24 Apr 2026 09:12:31 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B09144=20Fix=20code=20style?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/compiler.class.inc.php | 2 +- setup/runtimeenv.class.inc.php | 2 +- setup/wizardsteps/WizStepModulesChoice.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/compiler.class.inc.php b/setup/compiler.class.inc.php index 361fec388b..a51cd4862d 100644 --- a/setup/compiler.class.inc.php +++ b/setup/compiler.class.inc.php @@ -1562,7 +1562,7 @@ EOF; foreach ($aStatesOrder as $sState => $foo) { $oState = $aStates[$sState]; $oInitialStatePath = $oState->GetOptionalElement('initial_state_path'); - + $sLifecycle .= " MetaModel::Init_DefineState(\n"; $sLifecycle .= " \"".$sState."\",\n"; $sLifecycle .= " array(\n"; diff --git a/setup/runtimeenv.class.inc.php b/setup/runtimeenv.class.inc.php index 9622f7c9af..e2bcfcf66f 100644 --- a/setup/runtimeenv.class.inc.php +++ b/setup/runtimeenv.class.inc.php @@ -1621,7 +1621,7 @@ class RunTimeEnvironment $aExtensionDirs = []; foreach ($this->GetExtensionMap()->GetAllExtensions() as $oExtension) { if ($oExtension->bMarkedAsChosen && is_dir($oExtension->sSourceDir)) { - $aExtensionDirs []= $oExtension->sSourceDir; + $aExtensionDirs [] = $oExtension->sSourceDir; } } diff --git a/setup/wizardsteps/WizStepModulesChoice.php b/setup/wizardsteps/WizStepModulesChoice.php index 16e792cb0d..b6b5e8a9b9 100644 --- a/setup/wizardsteps/WizStepModulesChoice.php +++ b/setup/wizardsteps/WizStepModulesChoice.php @@ -145,7 +145,7 @@ class WizStepModulesChoice extends WizardStep throw new Exception('Internal error: invalid step "'.$index.'" for the choice of modules.'); } elseif ($bMoveForward) { if ($this->GetStepInfo(1 + $index) != null) { - return new WizardState(WizStepModulesChoice::class, (string)($index +1)); + return new WizardState(WizStepModulesChoice::class, (string)($index + 1)); } else { // Exiting this step of the wizard, let's convert the selection into a list of modules $aModules = [];