-
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.8] Fixed circular dependency - fix #28165 #28164
Conversation
Tests fail? |
Yes, i'm looking this. Two memcached tests failed with PHP7.1, i'm trying to reproduce locally. |
Done. But the Travis is crazy. |
I've got a failing test when updating to 5.8.12
|
|
We'll, looks like there many |
Maybe, a alternative is to use |
@kauanslr I've, since, done that.
I just viewed assertPushedTimes as a more verbose way of testing what I intended. Thanks anyway. |
This PR fix the issue opened by me (#28165).
Basically, this code override the
QueueManager::__call
magic method when the Queue is mocked to prevend a circular dependency when calling a undefined method in the mock.To prevent any break of existing feature i've made a simple test.