Skip to content

[auth] Inject UrlGeneratorInterface instead of RouterInterface #349

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

Merged
merged 2 commits into from
Jan 17, 2019
Merged

[auth] Inject UrlGeneratorInterface instead of RouterInterface #349

merged 2 commits into from
Jan 17, 2019

Conversation

Remg
Copy link
Contributor

@Remg Remg commented Jan 16, 2019

No description provided.

@Remg
Copy link
Contributor Author

Remg commented Jan 16, 2019

1/ should i keep or remove my commit regarding CS fixes ?
2/ i admit i have no clue why tests are failing on commands regarding migrations

@weaverryan
Copy link
Member

Thanks Rémi! No worries about the cs stuff - it's fine. And tests were fixed in another PR - was unrelated to your work :)

@weaverryan weaverryan merged commit da7b9ae into symfony:master Jan 17, 2019
weaverryan added a commit that referenced this pull request Jan 17, 2019
…face (Remg)

This PR was squashed before being merged into the 1.0-dev branch (closes #349).

Discussion
----------

[auth] Inject UrlGeneratorInterface instead of RouterInterface

Commits
-------

da7b9ae Fix failing CS
26b35ee Inject UrlGenerator instead of Router
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request Jan 24, 2019
… (romaricdrigon)

This PR was submitted for the 4.2 branch but it was merged into the 4.1 branch instead (closes #10925).

Discussion
----------

MakerBundle v1.11.13 uses urlGenerator instead of Router

Hello,

Since version 1.11.3 and PR [#349](symfony/maker-bundle#349) MakerBundle uses `UrlGeneratorInterface` instead of `RouterInterface` when generating a new Guard for a login form, and the corresponding property changed. Hence the documentation code snippet is misleading.

I'm not totally sure of which branch to PR on; being a change from latest version of MakerBundle, I think this is especially important for new projects, so using the latest Symfony version.

Commits
-------

f00344a MakerBundle uses urlGenerator instead of Router
@Remg Remg deleted the auth-form-inject-urlGenerator branch January 26, 2019 08:21
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.

3 participants