You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love prophecy I use this library a lot.
I have seen strange behavior when trying to mock method like this __methodName so I looked in code base and I found that exist a whitelist of reflectable methods. I would mock these methods like __doRequest from soap ext-library for example with __ in the name. If this behavior can be changed, it would be a great thing, if you agree I could make a PR.
I love prophecy I use this library a lot.
I have seen strange behavior when trying to mock method like this
__methodName
so I looked in code base and I found that exist a whitelist of reflectable methods. I would mock these methods like__doRequest
from soap ext-library for example with__
in the name. If this behavior can be changed, it would be a great thing, if you agree I could make a PR.Example
Output
Class in prophecy that contains a whitelist
The text was updated successfully, but these errors were encountered: