-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix: last error from stream_socket_enable_crypto #122
Conversation
This is interesting... we're getting the same unit test failures as you saw here, @zaerl. I'm also not able to reproduce those locally. From the logs:
|
I think is just a matter of phpunit version. |
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.
The fix looks reasonable, but I don't have any experience with this code yet. Is there any place we are clearly testing or exercising the AsyncHttp Client?
It is crashing on local with fatal errors sometimes. I don't think we need a unit test for this, just be sure we do not treat a null as an array. |
380f673
to
5ce86d1
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.
This looks good to me. Thank you!
What does this PR do?
Fix: #120
What problem does it fix?
See issue.
How to test if it works?
Working unit tests is ok for this.
./vendor/bin/phpunit