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
Essentially, it does not appear the extension is providing the correct information to the Reflection API (for the get method at least), therefore it unable to be mocked by both PHPUnit and Mockery.
Declaration of Mock_Memcached_f86666d0::get() should be compatible with Memcached::get($key, $cache_cb = NULL, &$cas_token = NULL, &$udf_flags = NULL)
A simple $this->getMock('Memcached') in PHPUnit will demonstrate the issue.
The text was updated successfully, but these errors were encountered:
See issue here: sebastianbergmann/phpunit-mock-objects#192
Essentially, it does not appear the extension is providing the correct information to the Reflection API (for the
get
method at least), therefore it unable to be mocked by both PHPUnit and Mockery.A simple
$this->getMock('Memcached')
in PHPUnit will demonstrate the issue.The text was updated successfully, but these errors were encountered: