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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deguif
Copy link
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
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
Copy link
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