Skip to content

PHP 8.0 deprecation notice #78

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

Open
mxdpeep opened this issue Dec 11, 2020 · 1 comment
Open

PHP 8.0 deprecation notice #78

mxdpeep opened this issue Dec 11, 2020 · 1 comment

Comments

@mxdpeep
Copy link

mxdpeep commented Dec 11, 2020

Required parameter $pivot follows optional parameter $after

/vendor/cheprasov/php-redis-client/src/RedisClient/Command/Traits/Version2x6/ListsCommandsTrait.php on line 94

see: https://php.watch/versions/8.0/deprecate-required-param-after-optional

public function linsert($key, $after = true, $pivot, $value) { return $this->returnCommand(['LINSERT'], $key, [$key, $after ? 'AFTER' : 'BEFORE', $pivot, $value]); }

@mxdpeep
Copy link
Author

mxdpeep commented Aug 6, 2022

please update the code as mentioned in the other bug report

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

1 participant