Skip to content

Fix broken build after reintroduction of the getUsername() method in Symfony 5.3.1 #520

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 1 commit into from
Jun 4, 2021

Conversation

ste93cry
Copy link
Contributor

@ste93cry ste93cry commented Jun 2, 2021

In Symfony 5.3.1, thanks to symfony/symfony#41493, the Symfony\Component\Security\Core\User\UserInterface::getUsername() method got reintroduced because its removal was a BC. This PR fixes PHPStan that complains that the method is missing from the user stub used in the RequestListenerTest class, and reverts some changes that were made in #518

@ste93cry ste93cry added this to the 4.1 milestone Jun 2, 2021
@ste93cry ste93cry requested a review from Jean85 June 2, 2021 21:38
@Jean85 Jean85 merged commit b9fbbdf into master Jun 4, 2021
@Jean85 Jean85 deleted the fix-broken-build branch June 4, 2021 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants