mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 23:42:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user