-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Revert deprecation of __sleep and __wakeup #19966
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
base: PHP-8.5
Are you sure you want to change the base?
Revert deprecation of __sleep and __wakeup #19966
Conversation
30913e3
to
6f3c8f2
Compare
I'm wondering if it's worth reverting #19827 given that the affected classes already have |
a7d54d1
to
0375921
Compare
Thanks for the review, I removed the commits that reverted NEWS updates and also removed the revert of #19827, which can and should be kept to me. |
0375921
to
ea69ff6
Compare
ea69ff6
to
32ffdd0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments, but LGTM otherwise.
This reverts commit a5f2eee.
32ffdd0
to
0b844d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine from a technical PoV
{ | ||
new Bar; | ||
return []; | ||
return []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the formatting changed here?
Without precluding the result of the vote at https://wiki.php.net/rfc/soft-deprecate-sleep-wakeup
I'm trying to help PHP 8.5 RMs get ready for RC2, as advised in this message:
https://externals.io/message/128643#128659
This PR reverts the commits on the topic, related to PRs #19682 and #19435
It also reverts #19827Reviews welcome to ensure this can be merged on Oct. 4th if the vote passes.
/cc @DanielEScherzer @edorian