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

Warn readers about false positive cache results #2500

Closed
wants to merge 1 commit into from

Conversation

tillkruss
Copy link
Contributor

@tillkruss tillkruss commented Aug 14, 2016

Using PhpRedis instead of Predis with Laravel’s default RedisServiceProvider will result in false-positive cache results across the framework, because PhpRedis returns false instead of null if a key does not exist.

This PR warns the user about this unexpected behaviour and links to a drop-in replacement.

@taylorotwell
Copy link
Member

Would it better to drive to solve this at the framework level so that it supports PhpRedis?

@taylorotwell
Copy link
Member

I think I would rather try to solve this as mentioned above.

@tillkruss
Copy link
Contributor Author

Great, love hearing that! I'll submit a patch.

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