Skip to content

[Deprecation] Deprecate AddRouteAnnotationRector#952

Merged
TomasVotruba merged 3 commits into
mainfrom
tv-remove-add-route
Jun 28, 2026
Merged

[Deprecation] Deprecate AddRouteAnnotationRector#952
TomasVotruba merged 3 commits into
mainfrom
tv-remove-add-route

Conversation

@TomasVotruba

@TomasVotruba TomasVotruba commented Jun 28, 2026

Copy link
Copy Markdown
Member

AddRouteAnnotationRector is too complex and tightly coupled to a project-specific Symfony route setup (needs a routes provider, exact controller references, route metadata, etc.). It is hard to maintain as a generic rule.

For this kind of one-time job, a local custom rule tailored to the actual project is a better fit.

@TomasVotruba TomasVotruba merged commit 78fb2e4 into main Jun 28, 2026
8 checks passed
@TomasVotruba TomasVotruba deleted the tv-remove-add-route branch June 28, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant