Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor: remove deprecated next() method

Andras Bacsaiaeba914bda61
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php
index 1684837cff..971c1d806b 100644
--- a/app/Jobs/ApplicationDeploymentJob.php
+++ b/app/Jobs/ApplicationDeploymentJob.php
@@ -3764,14 +3764,6 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");
$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();