reformat: fix codestyle

This commit is contained in:
2025-12-06 23:50:25 +03:00
parent 7372b9c330
commit 64f2fc5364
6 changed files with 7 additions and 11 deletions

View File

@@ -37,4 +37,3 @@ class ScheduleJobRegistry
return $this->jobs;
}
}

View File

@@ -41,4 +41,3 @@ class SchedulerResult
];
}
}

View File

@@ -108,7 +108,6 @@ class SchedulerService
$this->logger->info("Job executed: {$name}", ['duration' => $duration]);
$result->addExecuted($name, $duration);
} catch (Throwable $e) {
$this->updateLastFailure($id, $e->getMessage());
$this->logger->error("Job failed: {$name}", ['exception' => $e]);
@@ -116,7 +115,6 @@ class SchedulerService
} finally {
$this->unlockJob($id);
}
} catch (Throwable $e) {
$this->logger->error("Error processing job {$name}: " . $e->getMessage());
$result->addFailed($name, 'Processing error: ' . $e->getMessage());

View File

@@ -6,4 +6,3 @@ interface TaskInterface
{
public function execute(): void;
}

View File

@@ -4,6 +4,7 @@ parameters:
- src
- bastion
- framework
- console
scanDirectories:
- stubs