PHP CS fixer

This commit is contained in:
Eric Espie
2026-02-23 10:21:58 +01:00
parent 9efbd89068
commit 924bdabb62
3 changed files with 2 additions and 6 deletions

View File

@@ -199,8 +199,6 @@ function RaiseAlarm($sMessage)
//////////
// Main
if (utils::IsModeCLI()) {
try {
utils::UseParamFile();

View File

@@ -90,8 +90,7 @@ if (utils::IsModeCLI()) {
SetupUtils::CheckPhpAndExtensionsForCli($oP);
try {
utils::UseParamFile();
}
catch (Exception $e) {
} catch (Exception $e) {
ExitError($oP, $e->GetMessage());
}
} else {

View File

@@ -211,8 +211,7 @@ if (utils::IsModeCLI()) {
try {
utils::UseParamFile();
}
catch (Exception $e) {
} catch (Exception $e) {
$oP->p('Error: '.$e->GetMessage());
$oP->output();
exit(-2);