deps: Composer- und npm-Pakete innerhalb der Constraints aktualisiert

Laravel 12.69, Livewire 4.4, Flux 2.20, Cashier 16.8 (Stripe-SDK 21),
Larastan 3.12; Vite 6.4.3, Tailwind 4.3, Alpine 3.17 - npm audit 0.
Drei neue Larastan-Befunde behoben, drei tote Baseline-Einträge entfernt.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-09-15 15:04:52 +00:00
parent e84c2772ed
commit 71d9639491
7 changed files with 2508 additions and 1457 deletions

View file

@ -161,9 +161,9 @@ class FixApiPortalDuplicates extends Command
->filter(fn (Collection $group): bool => $group->count() >= 2)
->flatMap(function (Collection $group) use ($windowMinutes): array {
$pairs = [];
$items = $group->values();
$items = $group->values()->all();
for ($i = 0; $i < $items->count() - 1; $i++) {
for ($i = 0; $i < count($items) - 1; $i++) {
$first = $items[$i];
$second = $items[$i + 1];

View file

@ -132,9 +132,7 @@ class PressReleaseMediaPrivatizer
throw new RuntimeException("Could not write private press release media: {$path}");
}
} finally {
if (is_resource($stream)) {
fclose($stream);
}
fclose($stream);
}
$public->delete($path);

View file

@ -736,14 +736,10 @@ class PressReleaseService
return;
}
$mailable = match ($event) {
'published' => new PressReleasePublished($user, $pressRelease, $recipientName),
'rejected' => new PressReleaseRejected($user, $pressRelease, $reason, $recipientName),
default => null,
};
$mailable = $notificationType === EmailNotificationType::PressReleasePublished
? new PressReleasePublished($user, $pressRelease, $recipientName)
: new PressReleaseRejected($user, $pressRelease, $reason, $recipientName);
if ($mailable) {
Mail::to($recipient)->queue($mailable);
}
Mail::to($recipient)->queue($mailable);
}
}