-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fixed crash on PHP 8.0 #2079
Fixed crash on PHP 8.0 #2079
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2079 +/- ##
=========================================
Coverage 93.24% 93.24%
Complexity 3854 3854
=========================================
Files 215 215
Lines 10411 10411
=========================================
Hits 9708 9708
Misses 703 703
Continue to review full report at Codecov.
|
Ping @SamRemis. This is a blocker for Laravel. |
Thank you for the PR @GrahamCampbell, and I apologize for the delay in looking into it. I want to be positive that this will have no customer impact. It definitely looks safe to me, but this does strip some of the key data from $defaultChain. I don't see anywhere the keys are consumed so it should be safe to accept. I need to double check; barring any new findings, it will be completed soon |
That's why I showed you https://3v4l.org/LJchL, https://3v4l.org/IBO1U, which proves this is safe. |
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.
Change is good, please add a changelog file and we will merge it
@GrahamCampbell I tried pushing it myself, but the repo denied permission. To add the changelog file, add the below contents to a file under .changes/nextrelease/[file-name-here].json. I used '.changes/nextrelease/php-8-patch.json'. [ |
You do (already) have permission to push to my branch, however the PR probably needs rebasing. Feel free to take it over, or just cherry-pick my commit. |
Any status about this fix? |
Just rebased this and added the nextrelease entry. |
#### Done in this PR: - [x] Update composer constraint to allow PHP 8.0. - [x] Update travis configuration in order to run tests on PHP 8.0 (nightly). - [x] Update changelog #### Done in previous PRs: - [x] Deprecate `Elastica\Query\Match` class and add a new `Elastica\Query\MatchQuery` class as match is now a reserved keyword. [#1799] - [x] Update phpunit version in order to be compatible with PHP 8.0. [#1811] - [x] Bump `aws/aws-sdk-php` package version to fix a bug with PHP 8.0. [#1798] #### Done in external PRs: - [x] Wait for `aws/aws-sdk-php` to be compatible with PHP 8. [aws/aws-sdk-php#2079] - [ ] Wait for `elasticsearch/elasticsearch` to be compatible with PHP 8.0 and remove `--ignore-platform-reqs` composer option.
Fixes:
Evidence this fix is correct: https://3v4l.org/LJchL, https://3v4l.org/IBO1U.