Skip to content

Refactor routing core, introduce route collection and route finder to reduce router responsibilities - #415

Merged
armanist merged 13 commits into
quantum-php:masterfrom
armanist:412-Refactor-routing-core-introduce-RouteCollection-and-RouteFinder-to-reduce-Router-responsibilities
Feb 7, 2026
Merged

Refactor routing core, introduce route collection and route finder to reduce router responsibilities#415
armanist merged 13 commits into
quantum-php:masterfrom
armanist:412-Refactor-routing-core-introduce-RouteCollection-and-RouteFinder-to-reduce-Router-responsibilities

ci: removing explicit definition for image, leaving default to be cho…

27d18e9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 7, 2026 in 0s

81.86% (+0.37%) compared to df8d534

View this Pull Request on Codecov

81.86% (+0.37%) compared to df8d534

Details

Codecov Report

❌ Patch coverage is 88.58801% with 59 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.86%. Comparing base (df8d534) to head (27d18e9).

Files with missing lines Patch % Lines
src/Console/Commands/RouteListCommand.php 0.00% 23 Missing ⚠️
src/Router/RouteBuilder.php 90.62% 12 Missing ⚠️
src/Router/Exceptions/RouteException.php 76.92% 9 Missing ⚠️
src/Console/Commands/OpenApiCommand.php 0.00% 7 Missing ⚠️
src/Middleware/MiddlewareManager.php 50.00% 4 Missing ⚠️
src/Router/RouteDispatcher.php 94.28% 2 Missing ⚠️
src/Di/Di.php 94.11% 1 Missing ⚠️
src/Router/PatternCompiler.php 98.71% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #415      +/-   ##
============================================
+ Coverage     81.48%   81.86%   +0.37%     
- Complexity     2691     2721      +30     
============================================
  Files           239      241       +2     
  Lines          7157     7312     +155     
============================================
+ Hits           5832     5986     +154     
- Misses         1325     1326       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.