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

Why is there no definition of these constants in the api documentation #2364

Open
cloud-arrow opened this issue Jul 30, 2023 · 1 comment
Open

Comments

@cloud-arrow
Copy link

Why is there no definition of these constants in the api documentation

https://phpredis.github.io/phpredis/RedisCluster.html

RedisCluster::OPT_COMPRESSION
RedisCluster::OPT_COMPRESSION_LEVEL
@L00Cyph3r
Copy link

It might be that the documentation is based on the develop branch, these constants were removed last year by #2259.
There is another issue (#2384) that is related to this.
TL;DR, use the Redis:: constants if available where currently RedisCluster:: was used. Only a few remain that are cluster-specific (see PR for details of changes)

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

2 participants