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

Deprecation notice with PHP 8.1 #926

Closed
frenchcomp opened this issue Nov 25, 2021 · 5 comments
Closed

Deprecation notice with PHP 8.1 #926

frenchcomp opened this issue Nov 25, 2021 · 5 comments

Comments

@frenchcomp
Copy link

Hi
There are a deprecation notice with PHP 8.1 in the AccessTokenInterface :

During inheritance of JsonSerializable: Uncaught Return type of League\OAuth2\Client\Token\AccessTokenInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice.

@MyIgel
Copy link

MyIgel commented Nov 30, 2021

Looks like its fixed by #919

@SelviA
Copy link

SelviA commented Dec 7, 2021

Hi,
Thanks for the fix.
When will you create a release with this fixes ?

@frenchcomp
Copy link
Author

Thanks for the fix.

@jakubvojacek
Copy link

Any chance to tag a new version please?

@ramsey
Copy link
Contributor

ramsey commented Dec 22, 2021

This is now fixed in version 2.6.1. Thanks!

@ramsey ramsey closed this as completed Dec 22, 2021
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

No branches or pull requests

5 participants