Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

phpredis 4.0 - breaking api changes #5

Open
smaknsk opened this issue Apr 27, 2018 · 1 comment
Open

phpredis 4.0 - breaking api changes #5

smaknsk opened this issue Apr 27, 2018 · 1 comment

Comments

@smaknsk
Copy link

smaknsk commented Apr 27, 2018

phpredis 4.0 - breaking api changes
https://pecl.php.net/package-changelog.php?package=redis

Error:

Exception 'ArgumentCountError' with message 'Too few arguments to function dcb9\redis\Connection::open(), 0 passed in .../vendor/dcb9/yii2-phpredis/Cache.php on line 27 and at least 1 expected'
@smaknsk smaknsk changed the title phpredis 4.0.0 - breaking api changes phpredis 4.0 - breaking api changes Apr 27, 2018
@dcb9
Copy link
Owner

dcb9 commented Jun 14, 2018

I think that has nothing to do with phpredis, it's one of the PHP 7.1 incompatible changes, http://php.net/manual/en/migration71.incompatible.php.

we have added default value for dcb9\redis\Connection::open(), https://github.com/dcb9/yii2-phpredis/pull/6/files#diff-eba180ff89e23df156c82c995be952dfR88, so I think it will work with PHP 7.1.

I'm looking forward to hearing your feedback

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

No branches or pull requests

2 participants