-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
[5.6] __set_state exists in Carbon #23464
Conversation
__set_state should not be overridden
If it shouldn't be overridden it should've been |
May we just fix it and discuss later? |
@olafnorge sure, once the tests pass again. |
Yes quick-revert here: #23466 As lowest setup cannot pass without |
With Carbon version update the tests pass and so __set_state could be simply removed. So this PR is a better resolution in my opinion. |
Need this now. This brought down my dev environment. :( |
@kylekatarnls is the usage of __set_state being tested? |
__set_state in Carbon is exactly the same code as in this override and yes we tested it here: https://github.com/briannesbitt/Carbon/blob/master/tests/Carbon/InstanceTest.php#L61 |
@kylekatarnls is that PR going to be backported to 5.5 LTS? |
@LukeTowers > @taylorotwell did it. What is the workflow for master/5.7, should it be this commit merged or should I submit an other PR? |
Awesome, thanks for the update! |
This might have break something; see this SO question. |
Always submit PRs to the earliest branch on the framework. We regularly merge 5.5 -> 5.6 -> master. :) |
@Kyslik 32bit problem, fixed in 1.24.2 |
__set_state should not be overridden