Plugins base (#613)

* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
This commit is contained in:
Saeed Vaziry
2025-06-14 14:35:18 +02:00
committed by GitHub
parent adc0653d15
commit 131b828807
311 changed files with 3976 additions and 2660 deletions

View File

@ -4,8 +4,9 @@
use App\Exceptions\FailedToDeployGitKey;
use App\Exceptions\SSHError;
use App\Models\Service;
use App\Models\Site;
use App\SSH\Services\PHP\PHP;
use App\Services\PHP\PHP;
use Illuminate\Support\Str;
use RuntimeException;
@ -76,7 +77,7 @@ protected function isolate(): void
// Generate the FPM pool
if ($this->site->php_version) {
$service = $this->site->php();
if (! $service instanceof \App\Models\Service) {
if (! $service instanceof Service) {
throw new RuntimeException('PHP service not found');
}
/** @var PHP $php */