The custom autoloader used lowercase directory names which broke
after renaming app/core/ → app/Core/ and app/controllers/ → app/Controllers/
for PSR-4 compliance.
greggy
merged commit 1a72210608 into main2026-05-22 21:33:32 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Zusammenfassung
Fügt PHPUnit-Test-Infrastruktur hinzu und legt erste Unit-Tests für
App\Core\Routeran.Änderungen
vendor/und.phpunit.cache/hinzugefügtTest-Abdeckung (Router)
addRoute()dispatch()– URL-Normalisierungdispatch()– Direct Matchdispatch()– Legacy Redirectsdispatch()– Fehlerbehandlungdispatch()– Controller-InvocationTest-Ergebnis
Annahmen
TestableRouterals Subclass fängtheader()/exit()/echo-Side-Effects abDummyControllerals Minimal-Controller zum Testen von dispatch