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:
parent
e84c2772ed
commit
71d9639491
7 changed files with 2508 additions and 1457 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue