Skip to content

Fix deprecations triggered by Symfony 5.3 #489

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
Apr 26, 2021

Conversation

derrabus
Copy link
Contributor

This PR fixes deprecation warnings from the upcoming Symfony 5.3 release:

  • The "master request" has been renamed to "main request".
  • Implementations of UserInterface must provide a getUserIdentifier() method now.

Copy link
Contributor

@ste93cry ste93cry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely work. Can you 🙏 add an entry to the CHANGELOG following the pattern of the existing ones?

@ste93cry ste93cry changed the base branch from master to develop April 26, 2021 11:25
@ste93cry ste93cry changed the base branch from develop to master April 26, 2021 11:33
@ste93cry ste93cry modified the milestones: 4.2, 4.1 Apr 26, 2021
@derrabus derrabus force-pushed the bugfix/symfony-5.3 branch from 1c4d2e4 to 82e3067 Compare April 26, 2021 11:34
@derrabus derrabus force-pushed the bugfix/symfony-5.3 branch from 82e3067 to bad25a7 Compare April 26, 2021 11:41
@derrabus
Copy link
Contributor Author

Done!

I noticed that some of my changes could also be applied to the 3.5.x branch. Is that branch still open for this kind of fixes? Would it make sense to fix that branch first then?

@ste93cry
Copy link
Contributor

Is that branch still open for this kind of fixes? Would it make sense to fix that branch first then?

Yes it is, if you have time to contribute also to that version it would be awesome. Unfortunately we cannot merge the two branches because the code is foundamentally different and so we have to backport each commit/PR manually

@derrabus
Copy link
Contributor Author

Done in #490.

@ste93cry ste93cry merged commit ff0c7a3 into getsentry:master Apr 26, 2021
@derrabus derrabus deleted the bugfix/symfony-5.3 branch April 26, 2021 12:03
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.

2 participants