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

@ -5,7 +5,7 @@ use App\Models\Contact;
use App\Models\User;
use App\Rules\NoPromotionalText;
use Illuminate\Support\Facades\Validator;
use Livewire\Volt\Volt as LivewireVolt;
use Livewire\Livewire;
use Tests\TestCase;
/**
@ -64,7 +64,7 @@ test('a company name or address with a link is not saved', function () {
/** @var TestCase $this */
$company = newsroomEditor($this);
LivewireVolt::test('customer.press-kits.show', ['id' => $company->id])
Livewire::test('customer.press-kits.show', ['id' => $company->id])
->call('startEditCompany')
->set('companyName', 'Muster GmbH – https://spam.example')
->set('companyAddress', "Musterstraße 1\nwww.spam.example")
@ -79,7 +79,7 @@ test('an address that hits the red level of the release check is not saved', fun
/** @var TestCase $this */
$company = newsroomEditor($this);
LivewireVolt::test('customer.press-kits.show', ['id' => $company->id])
Livewire::test('customer.press-kits.show', ['id' => $company->id])
->call('startEditCompany')
->set('companyAddress', 'Musterstraße 1, spam-keyword Musterstadt')
->call('saveCompany')
@ -92,7 +92,7 @@ test('a press contact with a link in the role is not saved', function () {
/** @var TestCase $this */
$company = newsroomEditor($this);
LivewireVolt::test('customer.press-kits.show', ['id' => $company->id])
Livewire::test('customer.press-kits.show', ['id' => $company->id])
->call('startCreateContact')
->set('contactLastName', 'Muster')
->set('contactResponsibility', 'Pressesprecher – Angebote unter https://spam.example')
@ -108,7 +108,7 @@ test('creating a company with a promotional name is refused', function () {
$customer = User::factory()->create(['is_active' => true]);
$this->actingAs($customer);
LivewireVolt::test('customer.press-kits.create')
Livewire::test('customer.press-kits.create')
->set('name', 'Casino Royale Bonus')
->set('portal', 'businessportal24')
->call('save')