-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpFoundation] missing namespace for RedisProxy #27754
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
Conversation
Coincidentally I spotted this also yesterday :) |
Another option is to just remove the check for it. Wouldn't break anything since it never worked. Note that RedisProxy exists because the Redis class used to be incompatible with autogenerated lazy proxies. That's not the case anymore since phpredis 4. |
@nicolas-grekas the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the __call should do trick for del() right?
correct!
to be merged on 4.1
Thank you @bonfante. |
This PR was submitted for the master branch but it was squashed and merged into the 4.1 branch instead (closes #27754). Discussion ---------- [HttpFoundation] missing namespace for RedisProxy I think the intention was to check if is instance of \Symfony\Component\Cache\Traits\RedisProxy | Q | A | ------------- | --- | Branch? | 4.1 (becareful when merging) | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | <!-- Write a short README entry for your feature/bugfix here (replace this comment block.) This will help people understand your PR and can be used as a start of the Doc PR. Additionally: - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> Commits ------- 8e0acfc [HttpFoundation] missing namespace for RedisProxy
Nice, my first commit on symfony 😄 |
I think the intention was to check if is instance of \Symfony\Component\Cache\Traits\RedisProxy