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
{{ message }}
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
The magic method __call in EpiTwitter deviates from the PHP default:
or in short:
That default value "null" is never been used in PHP. If you call a method without parameters, the $params value is an empty array.
But because of this signature it is impossible to mock that class with e.g. Mockery in strict mode.
It should not change anything if this function is reverted to the standard that PHP sets:
For more details on one such problem, see http://stackoverflow.com/questions/21358268/mockery-call-has-a-different-signature
The text was updated successfully, but these errors were encountered: