Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Thijmen authored and github-actions[bot] committed Jun 22, 2024
1 parent f43fc1e commit cdabdb4
Show file tree
Hide file tree
Showing 50 changed files with 50 additions and 140 deletions.
3 changes: 1 addition & 2 deletions app/Data/ServerMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ class ServerMetadata extends Data
public function __construct(
public ?ProxyTypes $type,
public ?ProxyStatus $status
) {
}
) {}
}
4 changes: 1 addition & 3 deletions app/Events/ProxyStarted.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@ class ProxyStarted
{
use Dispatchable, InteractsWithSockets, SerializesModels;

public function __construct(public $data)
{
}
public function __construct(public $data) {}
}
4 changes: 1 addition & 3 deletions app/Exceptions/ProcessException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

use Exception;

class ProcessException extends Exception
{
}
class ProcessException extends Exception {}
3 changes: 1 addition & 2 deletions app/Jobs/ApplicationPullRequestUpdateJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ public function __construct(
public ApplicationPreview $preview,
public ProcessStatus $status,
public ?string $deployment_uuid = null
) {
}
) {}

public function handle()
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/CheckLogDrainContainerJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ class CheckLogDrainContainerJob implements ShouldBeEncrypted, ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct(public Server $server)
{
}
public function __construct(public Server $server) {}

public function middleware(): array
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/CheckResaleLicenseJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ class CheckResaleLicenseJob implements ShouldBeEncrypted, ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct()
{
}
public function __construct() {}

public function handle(): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/CleanupHelperContainersJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ class CleanupHelperContainersJob implements ShouldBeEncrypted, ShouldBeUnique, S
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct(public Server $server)
{
}
public function __construct(public Server $server) {}

public function handle(): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/CleanupInstanceStuffsJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ class CleanupInstanceStuffsJob implements ShouldBeEncrypted, ShouldBeUnique, Sho
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct()
{
}
public function __construct() {}

// public function uniqueId(): string
// {
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/ContainerStatusJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ public function backoff(): int
return isDev() ? 1 : 3;
}

public function __construct(public Server $server)
{
}
public function __construct(public Server $server) {}

public function middleware(): array
{
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/CoolifyTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ public function __construct(
public bool $ignore_errors = false,
public $call_event_on_finish = null,
public $call_event_data = null
) {
}
) {}

/**
* Execute the job.
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/DatabaseBackupStatusJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ class DatabaseBackupStatusJob implements ShouldBeEncrypted, ShouldQueue

public $tries = 1;

public function __construct()
{
}
public function __construct() {}

public function handle()
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/DeleteResourceJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ class DeleteResourceJob implements ShouldBeEncrypted, ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct(public Application|Service|StandalonePostgresql|StandaloneRedis|StandaloneMongodb|StandaloneMysql|StandaloneMariadb|StandaloneKeydb|StandaloneDragonfly|StandaloneClickhouse $resource, public bool $deleteConfigurations = false)
{
}
public function __construct(public Application|Service|StandalonePostgresql|StandaloneRedis|StandaloneMongodb|StandaloneMysql|StandaloneMariadb|StandaloneKeydb|StandaloneDragonfly|StandaloneClickhouse $resource, public bool $deleteConfigurations = false) {}

public function handle()
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/DockerCleanupJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ class DockerCleanupJob implements ShouldBeEncrypted, ShouldQueue

public ?int $usageBefore = null;

public function __construct(public Server $server)
{
}
public function __construct(public Server $server) {}

public function handle(): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/GithubAppPermissionJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ public function backoff(): int
return isDev() ? 1 : 3;
}

public function __construct(public GithubApp $github_app)
{
}
public function __construct(public GithubApp $github_app) {}

public function middleware(): array
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/InstanceAutoUpdateJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ class InstanceAutoUpdateJob implements ShouldBeEncrypted, ShouldBeUnique, Should

public $tries = 1;

public function __construct()
{
}
public function __construct() {}

public function handle(): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/PullCoolifyImageJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ class PullCoolifyImageJob implements ShouldBeEncrypted, ShouldQueue

public $timeout = 1000;

public function __construct()
{
}
public function __construct() {}

public function handle(): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/PullHelperImageJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ public function uniqueId(): string
return $this->server->uuid;
}

public function __construct(public Server $server)
{
}
public function __construct(public Server $server) {}

public function handle(): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/PullSentinelImageJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ public function uniqueId(): string
return $this->server->uuid;
}

public function __construct(public Server $server)
{
}
public function __construct(public Server $server) {}

public function handle(): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/PullTemplatesFromCDN.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ class PullTemplatesFromCDN implements ShouldBeEncrypted, ShouldQueue

public $timeout = 10;

public function __construct()
{
}
public function __construct() {}

public function handle(): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/PullVersionsFromCDN.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ class PullVersionsFromCDN implements ShouldBeEncrypted, ShouldQueue

public $timeout = 10;

public function __construct()
{
}
public function __construct() {}

public function handle(): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/SendConfirmationForWaitlistJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ class SendConfirmationForWaitlistJob implements ShouldBeEncrypted, ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct(public string $email, public string $uuid)
{
}
public function __construct(public string $email, public string $uuid) {}

public function handle()
{
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/SendMessageToDiscordJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ class SendMessageToDiscordJob implements ShouldBeEncrypted, ShouldQueue
public function __construct(
public string $text,
public string $webhookUrl
) {
}
) {}

/**
* Execute the job.
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/SendMessageToTelegramJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ public function __construct(
public string $token,
public string $chatId,
public ?string $topicId = null,
) {
}
) {}

/**
* Execute the job.
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/ServerFilesFromServerJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ class ServerFilesFromServerJob implements ShouldBeEncrypted, ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct(public ServiceApplication|ServiceDatabase|Application $resource)
{
}
public function __construct(public ServiceApplication|ServiceDatabase|Application $resource) {}

public function handle()
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/ServerLimitCheckJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ public function backoff(): int
return isDev() ? 1 : 3;
}

public function __construct(public Team $team)
{
}
public function __construct(public Team $team) {}

public function middleware(): array
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/ServerStatusJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ public function backoff(): int
return isDev() ? 1 : 3;
}

public function __construct(public Server $server)
{
}
public function __construct(public Server $server) {}

public function middleware(): array
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/ServerStorageSaveJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ class ServerStorageSaveJob implements ShouldBeEncrypted, ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct(public LocalFileVolume $localFileVolume)
{
}
public function __construct(public LocalFileVolume $localFileVolume) {}

public function handle()
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/SubscriptionInvoiceFailedJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ class SubscriptionInvoiceFailedJob implements ShouldBeEncrypted, ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct(protected Team $team)
{
}
public function __construct(protected Team $team) {}

public function handle()
{
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/SubscriptionTrialEndedJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class SubscriptionTrialEndedJob implements ShouldBeEncrypted, ShouldQueue

public function __construct(
public Team $team
) {
}
) {}

public function handle(): void
{
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/SubscriptionTrialEndsSoonJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class SubscriptionTrialEndsSoonJob implements ShouldBeEncrypted, ShouldQueue

public function __construct(
public Team $team
) {
}
) {}

public function handle(): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Listeners/MaintenanceModeDisabledNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

class MaintenanceModeDisabledNotification
{
public function __construct()
{
}
public function __construct() {}

public function handle(EventsMaintenanceModeDisabled $event): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Listeners/ProxyStartedNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ class ProxyStartedNotification
{
public Server $server;

public function __construct()
{
}
public function __construct() {}

public function handle(ProxyStarted $event): void
{
Expand Down
4 changes: 1 addition & 3 deletions app/Models/Kubernetes.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

namespace App\Models;

class Kubernetes extends BaseModel
{
}
class Kubernetes extends BaseModel {}
4 changes: 1 addition & 3 deletions app/Notifications/Container/ContainerRestarted.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ class ContainerRestarted extends Notification implements ShouldQueue

public $tries = 1;

public function __construct(public string $name, public Server $server, public ?string $url = null)
{
}
public function __construct(public string $name, public Server $server, public ?string $url = null) {}

public function via(object $notifiable): array
{
Expand Down
4 changes: 1 addition & 3 deletions app/Notifications/Container/ContainerStopped.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ class ContainerStopped extends Notification implements ShouldQueue

public $tries = 1;

public function __construct(public string $name, public Server $server, public ?string $url = null)
{
}
public function __construct(public string $name, public Server $server, public ?string $url = null) {}

public function via(object $notifiable): array
{
Expand Down
4 changes: 1 addition & 3 deletions app/Notifications/Database/DailyBackup.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ class DailyBackup extends Notification implements ShouldQueue

public $tries = 1;

public function __construct(public $databases)
{
}
public function __construct(public $databases) {}

public function via(object $notifiable): array
{
Expand Down
4 changes: 1 addition & 3 deletions app/Notifications/Internal/GeneralNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ class GeneralNotification extends Notification implements ShouldQueue

public $tries = 1;

public function __construct(public string $message)
{
}
public function __construct(public string $message) {}

public function via(object $notifiable): array
{
Expand Down
Loading

0 comments on commit cdabdb4

Please sign in to comment.