mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
code style fix
add command tests
This commit is contained in:
@ -13,7 +13,7 @@ public function __construct(protected string $provider, protected string $databa
|
||||
|
||||
public function file(): string
|
||||
{
|
||||
return File::get(resource_path(sprintf("commands/database/%s/backup.sh", $this->provider)));
|
||||
return File::get(resource_path(sprintf('commands/database/%s/backup.sh', $this->provider)));
|
||||
}
|
||||
|
||||
public function content(): string
|
||||
|
@ -13,7 +13,7 @@ public function __construct(protected string $provider, protected string $name)
|
||||
|
||||
public function file(): string
|
||||
{
|
||||
return File::get(resource_path(sprintf("commands/database/%s/create.sh", $this->provider)));
|
||||
return File::get(resource_path(sprintf('commands/database/%s/create.sh', $this->provider)));
|
||||
}
|
||||
|
||||
public function content(): string
|
||||
|
@ -17,7 +17,7 @@ public function __construct(
|
||||
|
||||
public function file(): string
|
||||
{
|
||||
return File::get(resource_path(sprintf("commands/database/%s/create-user.sh", $this->provider)));
|
||||
return File::get(resource_path(sprintf('commands/database/%s/create-user.sh', $this->provider)));
|
||||
}
|
||||
|
||||
public function content(): string
|
||||
|
@ -13,7 +13,7 @@ public function __construct(protected string $provider, protected string $name)
|
||||
|
||||
public function file(): string
|
||||
{
|
||||
return File::get(resource_path(sprintf("commands/database/%s/delete.sh", $this->provider)));
|
||||
return File::get(resource_path(sprintf('commands/database/%s/delete.sh', $this->provider)));
|
||||
}
|
||||
|
||||
public function content(): string
|
||||
|
@ -13,7 +13,7 @@ public function __construct(protected string $provider, protected string $userna
|
||||
|
||||
public function file(): string
|
||||
{
|
||||
return File::get(resource_path(sprintf("commands/database/%s/delete-user.sh", $this->provider)));
|
||||
return File::get(resource_path(sprintf('commands/database/%s/delete-user.sh', $this->provider)));
|
||||
}
|
||||
|
||||
public function content(): string
|
||||
|
@ -17,7 +17,7 @@ public function __construct(
|
||||
|
||||
public function file(): string
|
||||
{
|
||||
return File::get(resource_path(sprintf("commands/database/%s/link.sh", $this->provider)));
|
||||
return File::get(resource_path(sprintf('commands/database/%s/link.sh', $this->provider)));
|
||||
}
|
||||
|
||||
public function content(): string
|
||||
|
@ -13,7 +13,7 @@ public function __construct(protected string $provider, protected string $databa
|
||||
|
||||
public function file(): string
|
||||
{
|
||||
return File::get(resource_path(sprintf("commands/database/%s/restore.sh", $this->provider)));
|
||||
return File::get(resource_path(sprintf('commands/database/%s/restore.sh', $this->provider)));
|
||||
}
|
||||
|
||||
public function content(): string
|
||||
|
@ -16,7 +16,7 @@ public function __construct(
|
||||
|
||||
public function file(): string
|
||||
{
|
||||
return File::get(resource_path(sprintf("commands/database/%s/unlink.sh", $this->provider)));
|
||||
return File::get(resource_path(sprintf('commands/database/%s/unlink.sh', $this->provider)));
|
||||
}
|
||||
|
||||
public function content(): string
|
||||
|
Reference in New Issue
Block a user