case 'selectSetupLanguage':
if (!self::$developerMode) {
$this->calcProgress(0);
- $this->selectSetupLanguage();
- break;
+
+ return $this->selectSetupLanguage();
}
- /** @noinspection PhpMissingBreakStatementInspection */
- // no break
+ // no break
case 'showLicense':
if (!self::$developerMode) {
$this->calcProgress(1);
- $this->showLicense();
- break;
+
+ return $this->showLicense();
}
- /** @noinspection PhpMissingBreakStatementInspection */
- // no break
+ // no break
case 'showSystemRequirements':
if (!self::$developerMode) {
$this->calcProgress(2);
- $this->showSystemRequirements();
- break;
+
+ return $this->showSystemRequirements();
}
- // no break
+ // no break
case 'configureDirectories':
$this->calcProgress(3);
- $this->configureDirectories();
- break;
+
+ return $this->configureDirectories();
case 'unzipFiles':
$this->calcProgress(4);
break;
- // work-around for older MySQL versions that don't know utf8mb4
- case 1115:
+ case 1115: // work-around for older MySQL versions that don't know utf8mb4
- throw new SystemException("Insufficient MySQL version. Version '5.7.31' or greater is needed.");
+ throw new SystemException("Insufficient MySQL version. Version '8.0.29' or greater is needed.");
break;
default: