Skip to content

Conversation

@shakaran
Copy link

@shakaran shakaran commented Jan 8, 2026

Ensure route names are treated as strings in preg_match to handle numeric route names like '404' that PHP converts to integers in arrays, fixing compatibility with Symfony 6.2.

This resolves #448

Ensure route names are treated as strings in preg_match to handle numeric route names like '404' that PHP converts to integers in arrays, fixing compatibility with Symfony 6.2.
Add testGetRoutesWithNumericNames to ensure routes with numeric names like '404' are properly handled and exposed, covering the fix for Symfony 6.2 compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception when a route name is a parsable number

1 participant