Skip to content
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

[10.x] Support for phpredis 6.0.0 #48362

Merged
merged 1 commit into from Sep 11, 2023

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
20 checks passed
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
Co-authored-by: Steff Missot <smissot@gmail.com>
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.

None yet

2 participants