livewire: Volt entfernt — Komponenten als Livewire-4-Single-File-Components, Route::livewire(), Livewire::test(); livewire/volt deinstalliert

- 83 Komponenten: Livewire\Volt\Component → Livewire\Component
- 73 Routen (admin, auth, customer): Volt::route() → Route::livewire()
- 88 Testdateien: Volt::test/actingAs → Livewire::test/actingAs
- VoltServiceProvider gelöscht; composer remove livewire/volt
- config/livewire.php auf v4-Schlüssel (component_layout, component_placeholder,
  component_locations, make_command: SFC ohne ⚡). Der alte Schlüssel layout war
  wirkungslos; alle gerouteten Komponenten setzen ihr Layout selbst.
- CLAUDE.md, AGENTS.md, boost.json, .cursorrules, Skill volt-development
- Roadmap: erledigt; Larastan erfasst SFCs weiterhin nicht (Blade-Dateien)

Suite 2.325 grün, einer übersprungen; Larastan und Pint ohne Meldung;
route:cache und view:cache laufen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-10-06 13:59:36 +00:00
parent 5782297dca
commit 2cde7284a1
186 changed files with 889 additions and 1075 deletions

View file

@ -4,7 +4,7 @@ use App\Enums\AiTextDeclaration;
use App\Enums\PressReleaseStatus;
use Database\Seeders\RolesAndPermissionsSeeder;
use Illuminate\Support\Facades\Queue;
use Livewire\Volt\Volt as LivewireVolt;
use Livewire\Livewire;
use Tests\TestCase;
beforeEach(function (): void {
@ -19,7 +19,7 @@ test('the submit modal requires the archive notice confirmation', function () {
['customer' => $customer, 'pr' => $pr] = makeCustomerForShowPhase8a();
$this->actingAs($customer);
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
// Archiv-Hinweis (AGB § 13 Abs. 1, T2neu) als eigene Bestätigung —
// die frühere Erlöschens-Checkbox entfiel mit B2B-only (E2) …
->assertSee('dauerhaft archiviert')
@ -35,7 +35,7 @@ test('submitting records the archive notice consent timestamp on the press relea
expect($pr->withdrawal_waiver_consented_at)->toBeNull();
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
// KI-Kennzeichnung (Art. 50 KI-VO) ist Pflicht im Submit-Modal.
->set('aiTextDeclaration', AiTextDeclaration::None->value)
->set('aiDeclarationConfirmed', true)
@ -53,7 +53,7 @@ test('the index draft action opens the shared submit modal instead of a quick su
['customer' => $customer] = makeCustomerForShowPhase8a();
$this->actingAs($customer);
LivewireVolt::test('customer.press-releases.index')
Livewire::test('customer.press-releases.index')
->assertSee('Zur Prüfung')
// Gemeinsames Modal inkl. Archiv-Hinweis statt wire:confirm,
// das die rechtlichen Bestätigungen umgehen würde.