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

Implements __serialize() and __unserialize() PHP 8.1 magic methods on Aws\Credentials\Credentials class #2316

Merged
merged 1 commit into from
Oct 8, 2021

Conversation

nunomaduro
Copy link
Contributor

@nunomaduro nunomaduro commented Sep 14, 2021

This pull request implements __serialize() and __unserialize() PHP 8.1 magic methods on Aws\Credentials\Credentials class. I've also added a few tests regarding serialization.

Fixes #2307.

@driesvints
Copy link
Contributor

Hey @SamRemis, any chance we can get this one merged and tagged?

@driesvints
Copy link
Contributor

@ajredniwja @SamRemis heya, I'm sorry I don't want to pressure you but is there any chance we can get this merged and tagged? It's one of the very last things before we can offer a fully working build on PHP 8.1 in Laravel.

@SamRemis SamRemis merged commit da1f6ae into aws:master Oct 8, 2021
Copy link
Member

@SamRemis SamRemis left a comment

Choose a reason for hiding this comment

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

No major logical changes, just renaming methods to support PHP 8.1

@SamRemis
Copy link
Member

SamRemis commented Oct 8, 2021

@nunomaduro Sorry for the delay in merging :) thanks for opening this

@nunomaduro nunomaduro deleted the fix/php81-serialization branch October 8, 2021 17:28
@driesvints
Copy link
Contributor

Thanks @SamRemis! 🥳

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.

PHP 8.1: Magic methods replacing Serialize interface are not implemented
4 participants