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

@ -7,7 +7,7 @@ use App\Models\PressRelease;
use App\Models\User;
use Database\Seeders\RolesAndPermissionsSeeder;
use Illuminate\Support\Carbon;
use Livewire\Volt\Volt as LivewireVolt;
use Livewire\Livewire;
use Tests\TestCase;
beforeEach(function (): void {
@ -38,7 +38,7 @@ test('create form persistiert scheduled_at aus datum und uhrzeit ohne embargo',
['customer' => $customer, 'category' => $category] = makeSchedulingCustomer();
$this->actingAs($customer);
LivewireVolt::test('customer.press-releases.create')
Livewire::test('customer.press-releases.create')
->set('title', 'Phase 7F Scheduling Demo')
->set('text', str_repeat('Inhalt eines Tests. ', 5))
->set('categoryId', $category->id)
@ -65,7 +65,7 @@ test('create form lehnt scheduled_at in der Vergangenheit ab', function () {
['customer' => $customer, 'category' => $category] = makeSchedulingCustomer();
$this->actingAs($customer);
LivewireVolt::test('customer.press-releases.create')
Livewire::test('customer.press-releases.create')
->set('title', 'Vergangene Veröffentlichung')
->set('text', str_repeat('Inhalt eines Tests. ', 5))
->set('categoryId', $category->id)
@ -82,7 +82,7 @@ test('create form lehnt geplanten termin aus datum und uhrzeit in der vergangenh
['customer' => $customer, 'category' => $category] = makeSchedulingCustomer();
$this->actingAs($customer);
LivewireVolt::test('customer.press-releases.create')
Livewire::test('customer.press-releases.create')
->set('publishMode', 'scheduled')
->set('scheduledDate', '2026-05-30')
->set('scheduledTime', '10:00')
@ -95,7 +95,7 @@ test('publishMode now setzt scheduled_at auf null beim Save', function () {
['customer' => $customer, 'category' => $category] = makeSchedulingCustomer();
$this->actingAs($customer);
LivewireVolt::test('customer.press-releases.create')
Livewire::test('customer.press-releases.create')
->set('title', 'Sofort veröffentlichen')
->set('text', str_repeat('Inhalt eines Tests. ', 5))
->set('categoryId', $category->id)
@ -129,7 +129,7 @@ test('edit form hydriert scheduled_at in datum und uhrzeit ohne embargo', functi
$this->actingAs($customer);
LivewireVolt::test('customer.press-releases.edit', ['id' => $pr->id])
Livewire::test('customer.press-releases.edit', ['id' => $pr->id])
->assertSet('publishMode', 'scheduled')
->assertSet('scheduledAt', '2026-06-05T14:30')
->assertSet('scheduledDate', '2026-06-05')