Skip to content

Conversation

@stemis
Copy link
Contributor

@stemis stemis commented Sep 11, 2023

See also: #48361

The PHPRedis library removed RedisCluster:: constants since 6.0.0. Released on pecl today 2023-09-11

The author of PHPREDIS recommends not using the constants of RedisCluster anymore but using the constants in Redis instead here: phpredis/phpredis#2262 (comment):

We updated how we create these class constants which is when I noticed I was duplicating all the constants for both classes. I think we want to only define them for Redis in the next version (which will be a major version bump)

This PR changes the use of RedisCluster:: for constants to Redis::.

This is backward compatible since the underlying values of these constants are the same, so it will still work for older phpredis versions

@stemis stemis changed the title Support for phpredis 6.0.0 [10.x] Support for phpredis 6.0.0 Sep 11, 2023
@taylorotwell taylorotwell merged commit 80cbea6 into laravel:10.x Sep 11, 2023
MichalHubatka pushed a commit to MichalHubatka/framework that referenced this pull request Sep 13, 2023
taylorotwell pushed a commit that referenced this pull request Oct 3, 2023
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

Successfully merging this pull request may close these issues.

2 participants