Skip to content

Fix Symfony 5.1 deprecation #313

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 25, 2021
Merged

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Jun 15, 2021

This adds a conditional to use service() if existing with fallback to ref() otherwise to support Symfony 4.4.

I'm not sure if this is the best way to "fix" this tbh, feel free to suggest something else. It doesn't even make problems currently but I wanted to get rid of the deprecations there :)

This adds a conditional to use service() if existing with fallback to ref() otherwise to support Symfony 4.4.
@herndlm
Copy link
Contributor Author

herndlm commented Jun 24, 2021

@Spomky what do you think? Maybe you have a better idea?

@Spomky Spomky merged commit 643cced into web-token:v2.2 Jun 25, 2021
@Spomky
Copy link
Member

Spomky commented Jun 25, 2021

Hi @monojp,

Many thanks. I am not a big fan of method names in variables, bug this will work anyhow.
I am preparing the next major release that will completely fix that and other deprecation notices.

Regards.

@herndlm herndlm deleted the fix-deprecation branch August 20, 2021 08:55
@herndlm
Copy link
Contributor Author

herndlm commented Aug 20, 2021

Hi @Spomky, do you mind creating a new patch release for 2.2 to release the latest fixes like this one?

@Spomky
Copy link
Member

Spomky commented Aug 24, 2021

Hi @herndlm,

I've just created the tag v2.2.11. This tag will be propagated to the sub-components soon.

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