Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade tailwindcss from 3.4.3 to 3.4.4 #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
) {
}
) {}
}
5 changes: 1 addition & 4 deletions app/Events/ProxyStarted.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +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
5 changes: 1 addition & 4 deletions app/Jobs/CleanupInstanceStuffsJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +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