Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Route annotations with attributes, remove Route annotation configuration block #17142

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

ker0x
Copy link
Contributor

@ker0x ker0x commented Aug 10, 2022

As discussed in #16877, this PR replaces all @Route annotations with #[Route] attributes.

It also remove Route annotation configuration block.

I only replaced the @Route annotations to simplify the review and get some initial feedback. Depending on them, I will adjust the changes and submit other PR to replace the other type of annotations if it's ok for you!

@carsonbot carsonbot added this to the 6.0 milestone Aug 10, 2022
@ker0x ker0x force-pushed the feature/route-attributes branch from 061ee08 to f8eb8bd Compare August 10, 2022 13:32
@ker0x ker0x requested a review from xabbuh as a code owner August 10, 2022 13:32
@ker0x ker0x force-pushed the feature/route-attributes branch from f8eb8bd to 695332c Compare August 10, 2022 13:45
@javiereguiluz
Copy link
Member

Romain, thanks a lot for this nice and big contribution! As you said, we prefer separate PRs for each removed annotation because this will introduce many merge conflicts, so it's better to work step by step. Thanks!

@javiereguiluz javiereguiluz merged commit db90899 into symfony:6.0 Aug 10, 2022
@ker0x ker0x deleted the feature/route-attributes branch August 10, 2022 23:57
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull request Aug 11, 2022
…RM annotation configuration block (ker0x)

This PR was merged into the 6.0 branch.

Discussion
----------

Replace ORM annotations with attributes, remove ORM annotation configuration block

Following symfony#17142, this one replace all ORM annotations!

Commits
-------

55da07f Replace ORM annotations with attributes, remove ORM annotation configuration block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants