Skip to content

Fix Psr16Cache not being compatible with non-Symfony cache pools #44737

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

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

colinodell
Copy link
Contributor

Q A
Branch? 6.0
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #44736
License MIT
Doc PR n/a

Resolves #44736 by making the Closure nullable so that checks for null don't fail when the property is not initialized.

@carsonbot carsonbot added this to the 6.0 milestone Dec 20, 2021
@colinodell colinodell changed the title Fix Psr16Cache not being compatible with non-Symfony cache pools [Cache] Fix Psr16Cache not being compatible with non-Symfony cache pools Dec 20, 2021
@carsonbot carsonbot changed the title [Cache] Fix Psr16Cache not being compatible with non-Symfony cache pools Fix Psr16Cache not being compatible with non-Symfony cache pools Dec 20, 2021
@derrabus
Copy link
Member

Good catch, thanks @colinodell.

@derrabus derrabus merged commit c3f10ff into symfony:6.0 Dec 21, 2021
@fabpot fabpot mentioned this pull request Dec 29, 2021
@colinodell colinodell deleted the fix-psr16-cache-adapter branch January 5, 2023 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants