Skip to content

Bump vite from 5.2.13 to 5.3.1 in the js-dependencies group #1098

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

Merged
merged 2 commits into from
Jun 20, 2024
Merged
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
4 changes: 1 addition & 3 deletions app/Events/ArticleWasApproved.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ final class ArticleWasApproved
{
use SerializesModels;

public function __construct(public Article $article)
{
}
public function __construct(public Article $article) {}
}
4 changes: 1 addition & 3 deletions app/Events/ArticleWasSubmittedForApproval.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ class ArticleWasSubmittedForApproval
{
use SerializesModels;

public function __construct(public Article $article)
{
}
public function __construct(public Article $article) {}
}
4 changes: 1 addition & 3 deletions app/Events/EmailAddressWasChanged.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ class EmailAddressWasChanged
{
use SerializesModels;

public function __construct(public User $user)
{
}
public function __construct(public User $user) {}
}
4 changes: 1 addition & 3 deletions app/Events/ReplyWasCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ final class ReplyWasCreated
{
use SerializesModels;

public function __construct(public Reply $reply)
{
}
public function __construct(public Reply $reply) {}
}
4 changes: 1 addition & 3 deletions app/Events/SpamWasReported.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ final class SpamWasReported
{
use SerializesModels;

public function __construct(public Spam $spam)
{
}
public function __construct(public Spam $spam) {}
}
4 changes: 1 addition & 3 deletions app/Events/ThreadWasCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ final class ThreadWasCreated
{
use SerializesModels;

public function __construct(public Thread $thread)
{
}
public function __construct(public Thread $thread) {}
}
4 changes: 1 addition & 3 deletions app/Jobs/ApproveArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

final class ApproveArticle
{
public function __construct(private Article $article)
{
}
public function __construct(private Article $article) {}

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

final class BanUser
{
public function __construct(private User $user, private $reason)
{
}
public function __construct(private User $user, private $reason) {}

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

final class BlockUser
{
public function __construct(private User $user, private User $blockedUser)
{
}
public function __construct(private User $user, private User $blockedUser) {}

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

final class CreateApiToken
{
public function __construct(private User $user, private string $name)
{
}
public function __construct(private User $user, private string $name) {}

public function handle(): string
{
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/CreateReply.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ public function __construct(
private string $body,
private User $author,
private ReplyAble $replyAble
) {
}
) {}

public static function fromRequest(CreateReplyRequest $request, UuidInterface $uuid): self
{
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/CreateThread.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public function __construct(
private string $body,
private User $author,
private array $tags = []
) {
}
) {}

public static function fromRequest(ThreadRequest $request, UuidInterface $uuid): self
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/DeclineArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

final class DeclineArticle
{
public function __construct(private Article $article)
{
}
public function __construct(private Article $article) {}

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

public function __construct(private User $user, private int $tokenId)
{
}
public function __construct(private User $user, private int $tokenId) {}

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

final class DeleteArticle
{
public function __construct(private Article $article)
{
}
public function __construct(private Article $article) {}

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

final class DeleteReply
{
public function __construct(private Reply $reply, private $reason = null)
{
}
public function __construct(private Reply $reply, private $reason = null) {}

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

final class DeleteThread
{
public function __construct(private Thread $thread)
{
}
public function __construct(private Thread $thread) {}

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

final class DeleteUser
{
public function __construct(private User $user)
{
}
public function __construct(private User $user) {}

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

final class DisapproveArticle
{
public function __construct(private Article $article)
{
}
public function __construct(private Article $article) {}

public function handle(): Article
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/GenerateSocialShareImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ final class GenerateSocialShareImage

const CACHE_LIFETIME = 43200;

public function __construct(private Article $article)
{
}
public function __construct(private Article $article) {}

public function handle(ImageManager $image): mixed
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/LikeArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

final class LikeArticle
{
public function __construct(private Article $article, private User $user)
{
}
public function __construct(private Article $article, private User $user) {}

/**
* @throws \App\Exceptions\CannotLikeItem
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/LikeReply.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

final class LikeReply
{
public function __construct(private Reply $reply, private User $user)
{
}
public function __construct(private Reply $reply, private User $user) {}

/**
* @throws \App\Exceptions\CannotLikeItem
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/LikeThread.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

final class LikeThread
{
public function __construct(private Thread $thread, private User $user)
{
}
public function __construct(private Thread $thread, private User $user) {}

/**
* @throws \App\Exceptions\CannotLikeItem
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/LockThread.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

final class LockThread
{
public function __construct(private User $user, private Thread $thread)
{
}
public function __construct(private User $user, private Thread $thread) {}

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

final class MarkThreadSolution
{
public function __construct(private Thread $thread, private Reply $solution, private User $user)
{
}
public function __construct(private Thread $thread, private Reply $solution, private User $user) {}

public function handle(): void
{
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/RegisterUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ public function __construct(
private string $username,
private string $githubId,
private string $githubUsername
) {
}
) {}

public static function fromRequest(RegisterRequest $request): self
{
Expand Down
4 changes: 1 addition & 3 deletions app/Jobs/ReportSpam.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ class ReportSpam implements ShouldQueue
use Queueable;
use SerializesModels;

public function __construct(private User $user, private Spam $spam)
{
}
public function __construct(private User $user, private Spam $spam) {}

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

final class SaveNotificationSettings
{
public function __construct(private User $user, private readonly array $allowedNotifications)
{
}
public function __construct(private User $user, private readonly array $allowedNotifications) {}

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

final class SubscribeToSubscriptionAble
{
public function __construct(private User $user, private SubscriptionAble $subscriptionAble)
{
}
public function __construct(private User $user, private SubscriptionAble $subscriptionAble) {}

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

final class UnbanUser
{
public function __construct(private User $user)
{
}
public function __construct(private User $user) {}

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

final class UnblockUser
{
public function __construct(private User $user, private User $blockedUser)
{
}
public function __construct(private User $user, private User $blockedUser) {}

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

final class UnlikeArticle
{
public function __construct(private Article $article, private User $user)
{
}
public function __construct(private Article $article, private User $user) {}

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

final class UnlikeReply
{
public function __construct(private Reply $reply, private User $user)
{
}
public function __construct(private Reply $reply, private User $user) {}

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

final class UnlikeThread
{
public function __construct(private Thread $thread, private User $user)
{
}
public function __construct(private Thread $thread, private User $user) {}

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

final class UnlockThread
{
public function __construct(private Thread $thread)
{
}
public function __construct(private Thread $thread) {}

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

final class UnmarkThreadSolution
{
public function __construct(private Thread $thread)
{
}
public function __construct(private Thread $thread) {}

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

final class UnsubscribeFromSubscriptionAble
{
public function __construct(private User $user, private SubscriptionAble $subscriptionAble)
{
}
public function __construct(private User $user, private SubscriptionAble $subscriptionAble) {}

public function handle(): void
{
Expand Down
Loading