mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
Add phpstan level 7(#544)
This commit is contained in:
@ -2,22 +2,20 @@
|
||||
|
||||
namespace App\Facades;
|
||||
|
||||
use App\Models\Server;
|
||||
use App\Models\ServerLog;
|
||||
use App\Support\Testing\SSHFake;
|
||||
use Illuminate\Support\Facades\Facade as FacadeAlias;
|
||||
|
||||
/**
|
||||
* Class SSH
|
||||
*
|
||||
* @method static init(Server $server, string $asUser = null)
|
||||
* @method static setLog(?ServerLog $log)
|
||||
* @method static \App\Helpers\SSH|SSHFake init(\App\Models\Server $server, string $asUser = null)
|
||||
* @method static setLog(?\App\Models\ServerLog $log)
|
||||
* @method static connect()
|
||||
* @method static string exec(string $command, string $log = '', int $siteId = null, ?bool $stream = false, callable $streamCallback = null)
|
||||
* @method static string upload(string $local, string $remote, ?string $owner = null)
|
||||
* @method static string download(string $local, string $remote)
|
||||
* @method static string write(string $path, string $content, string $owner = null)
|
||||
* @method static string assertExecuted(array|string $commands)
|
||||
* @method static string assertExecuted(array<int, string>|string $commands)
|
||||
* @method static string assertExecutedContains(string $command)
|
||||
* @method static string assertFileUploaded(string $toPath, ?string $content = null)
|
||||
* @method static string getUploadedLocalPath()
|
||||
|
Reference in New Issue
Block a user