upgrade to Laravel 11 and schema squash (#245)

* upgrade to Laravel 11 and schema squash

* code style and npm audit fix

* fix #209
This commit is contained in:
Saeed Vaziry
2024-06-25 00:33:02 +03:30
committed by GitHub
parent b5c8d99ef8
commit e031bafba5
74 changed files with 898 additions and 2098 deletions

View File

@ -6,9 +6,7 @@
class Cron
{
public function __construct(protected Server $server)
{
}
public function __construct(protected Server $server) {}
public function update(string $user, string $cron): void
{

View File

@ -10,9 +10,7 @@ class OS
{
use HasScripts;
public function __construct(protected Server $server)
{
}
public function __construct(protected Server $server) {}
public function installDependencies(): void
{

View File

@ -6,9 +6,7 @@
abstract class AbstractService implements ServiceInterface
{
public function __construct(protected Service $service)
{
}
public function __construct(protected Service $service) {}
public function creationRules(array $input): array
{

View File

@ -4,6 +4,4 @@
use App\SSH\Services\AbstractService;
abstract class AbstractFirewall extends AbstractService implements Firewall
{
}
abstract class AbstractFirewall extends AbstractService implements Firewall {}

View File

@ -4,6 +4,4 @@
use App\SSH\Services\AbstractService;
abstract class AbstractWebserver extends AbstractService implements Webserver
{
}
abstract class AbstractWebserver extends AbstractService implements Webserver {}

View File

@ -7,7 +7,5 @@
abstract class AbstractStorage implements Storage
{
public function __construct(protected Server $server, protected StorageProvider $storageProvider)
{
}
public function __construct(protected Server $server, protected StorageProvider $storageProvider) {}
}

View File

@ -6,9 +6,7 @@
class Systemd
{
public function __construct(protected Server $server)
{
}
public function __construct(protected Server $server) {}
public function status(string $unit): string
{