From aeba914bda61a6fc1eca79816286617575d8d0d9 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Sun, 26 Oct 2025 09:20:30 +0100 Subject: [PATCH] refactor: remove deprecated next() method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The backward-compatible next() method is no longer needed since all call sites have been updated to use the clearer method names: - completeDeployment() - failDeployment() - transitionToStatus() This completes the refactoring to make status transitions more explicit and maintainable. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/Jobs/ApplicationDeploymentJob.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php index 1684837cf..971c1d806 100644 --- a/app/Jobs/ApplicationDeploymentJob.php +++ b/app/Jobs/ApplicationDeploymentJob.php @@ -3764,14 +3764,6 @@ private function failDeployment(): void $this->transitionToStatus(ApplicationDeploymentStatus::FAILED); } - /** - * @deprecated Use transitionToStatus(), completeDeployment(), or failDeployment() instead. - */ - private function next(string $status): void - { - $this->transitionToStatus(ApplicationDeploymentStatus::from($status)); - } - public function failed(Throwable $exception): void { $this->failDeployment();