-
Notifications
You must be signed in to change notification settings - Fork 80
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
Type error in Redis usage #34
Comments
Another error that ocured is that, when using docker, the port parameter is set as a string but
|
The first issue has to be fixed by casting it to a string to be phpredis < 5 compatible, see phpredis/phpredis#1538 |
I am experiencing the same error on PHP 7.3.10 and 7.3.13 (With php-pecl-redis4 from the remi repository on CentOS 7). Downgraded the package back to 0.9.1 while waiting for a fix. |
I can now confirm that replacing I also noticed, while upgrading this library, that the version key is gone from composer.json as of 1.0.2, which is probably why that version is not on Packagist (where the latest available is 1.0.1). |
I've just noticed it was changed during CI builds, not sure why.. 63966cd #20 I completely missed that, would be good to have others reviewing these PRs too :P haha |
@NoelDavies do you intend to keep distributing these Dockerfiles with the project? I had similar problem as the guys there, and I can tidy a little the setup and make a PR if you plan to keep those dev containers. I personally would just remove from this project and maybe create another as helper to test this one, or even just make available the Docker images and the pure docker command to execute the tests while contributing. |
Sorry @fernandesGabriel - I no longer work at EndClothing. |
Running
leads to a TypeError error in
PHP 7.3.10
:Using a alpine:latest container with the
php7 php7-redis
packages (PHP 7.3.10 (cli) (built: Oct 3 2019 11:21:47) ( NTS )
)To me that looks more like it could be a bug in the redis package but sadly i have no deep enough knowledge to investigate that further.It got fixed in phpredis >=5 but that makes this plugin incompatible to phpredis 4 which is currently distributed.
The text was updated successfully, but these errors were encountered: