Skip to content

Mocking Memcached object results in error #168

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

Closed
bryanlatten opened this issue Apr 15, 2015 · 1 comment
Closed

Mocking Memcached object results in error #168

bryanlatten opened this issue Apr 15, 2015 · 1 comment

Comments

@bryanlatten
Copy link

Love the Memcached extension, looking to do a 'lower'-level integration (which always makes me laugh in a scripting language), which requires some testing. Unfortunately, this does not seem possible with the current 2.2.0 release.

Declaration of Mock_Memcached_0376aa4c::get() should be compatible with Memcached::get($key, $cache_cb = NULL, &$cas_token = NULL, &$udf_flags = NULL)

Also see: sebastianbergmann/phpunit-mock-objects#192

Currently seen in PHP 5.5+ (tested 5.5.22 / 5.6.7), with phpunit 3.7, 4.4, 4.5

@mkoppanen
Copy link
Member

Duplicate of #126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants