Skip to content

[Router] Adapt code since Symfony 4 is now required#224

Open
deguif wants to merge 1 commit into
schmittjoh:masterfrom
deguif:symfony-4-adaptation
Open

[Router] Adapt code since Symfony 4 is now required#224
deguif wants to merge 1 commit into
schmittjoh:masterfrom
deguif:symfony-4-adaptation

Conversation

@deguif
Copy link
Copy Markdown
Contributor

@deguif deguif commented Jun 6, 2018

This PR removes compatibility with Symfony 2 in Router class.
I also update the code to be more Symfony 4.

Breaking change is that now the I18nLoader service is injected instead of the id.

@deguif deguif force-pushed the symfony-4-adaptation branch 2 times, most recently from b56b26a to 003ee30 Compare June 6, 2018 13:34
@acasademont
Copy link
Copy Markdown
Collaborator

Hi @deguif thanks for the patch! However, as you said, this is a BC change (not sure how many people use a custom I18nRouter though) and I'd like not to merge it unless is solving some kind of bug.

@deguif deguif force-pushed the symfony-4-adaptation branch from 003ee30 to ec692ae Compare June 27, 2018 14:31
@deguif deguif force-pushed the symfony-4-adaptation branch from ec692ae to d8c9661 Compare June 27, 2018 14:37
@deguif
Copy link
Copy Markdown
Contributor Author

deguif commented Jun 27, 2018

I just updated the code to remove the BC change related to I18nLoader injection, this will remains as before.

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.

2 participants