livewire: Volt entfernt — Komponenten als Livewire-4-Single-File-Components, Route::livewire(), Livewire::test(); livewire/volt deinstalliert
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run

- 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 79bb6cf1d0
commit 31da9ea8b6
186 changed files with 889 additions and 1075 deletions

View file

@ -10,7 +10,7 @@ use App\Models\PressRelease;
use App\Models\User;
use Database\Seeders\RolesAndPermissionsSeeder;
use Illuminate\Support\Facades\Mail;
use Livewire\Volt\Volt;
use Livewire\Livewire;
use Tests\TestCase;
beforeEach(function () {
@ -33,7 +33,7 @@ test('the concerns modal offers all four tracks', function () {
$pressRelease = PressRelease::factory()->published()->create(['user_id' => $owner->id]);
Volt::test('customer.press-releases.show', ['id' => $pressRelease->id])
Livewire::test('customer.press-releases.show', ['id' => $pressRelease->id])
->assertSee('Was möchten Sie tun?')
->assertSee('Kleine Korrektur')
->assertSee('Inhaltliche Änderung')
@ -51,7 +51,7 @@ test('the dsgvo preview validates input and never touches the release', function
'title' => 'Max Mustermann übernimmt die Leitung',
]);
$component = Volt::test('customer.press-releases.show', ['id' => $pressRelease->id]);
$component = Livewire::test('customer.press-releases.show', ['id' => $pressRelease->id]);
// Leeres Formular → Fehler.
$component->call('previewDsgvo')->assertHasErrors('dsgvo');
@ -83,7 +83,7 @@ test('the confirmed dsgvo submission creates a verified open request for the adm
'title' => 'Max Mustermann übernimmt die Leitung',
]);
Volt::test('customer.press-releases.show', ['id' => $pressRelease->id])
Livewire::test('customer.press-releases.show', ['id' => $pressRelease->id])
->set('dsgvoTerms', "Max Mustermann\nMustermanns")
->set('dsgvoDetachContacts', true)
->set('dsgvoMessage', 'Ich bin die betroffene Person und wünsche die Entfernung.')
@ -126,7 +126,7 @@ test('a second open dsgvo request for the same release is blocked', function ()
'status' => LegalRequestStatus::Open,
]);
Volt::test('customer.press-releases.show', ['id' => $pressRelease->id])
Livewire::test('customer.press-releases.show', ['id' => $pressRelease->id])
->set('dsgvoTerms', 'Max Mustermann')
->set('dsgvoMessage', 'Bitte meinen Namen entfernen, danke.')
->call('previewDsgvo')