Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Cache] Fix proxying third party PSR-6 cache items#60167

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:6.4fromPatchRanger:fix-60160
Apr 7, 2025

Conversation

PatchRanger
Copy link
Contributor

...work with adapter of CacheItemPoolInterface other than \Symfony\Component\Cache\Adapter\AdapterInterface

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesFix#60160
LicenseMIT

… should work with adapter of CacheItemPoolInterface other than \Symfony\Component\Cache\Adapter\AdapterInterface
@PatchRanger
Copy link
ContributorAuthor

I could be missing something, but the fail looks totally unrelated to the one-line-change I made 🤔

@stof
Copy link
Member

stof commentedApr 7, 2025

this change is legitimate, but it also indicates a gap in test coverage for our ProxyAdapter. The whole point of the ProxyAdapter is to adaptexternal PSR-6 implementations, but the tests of that class are adapting our own ArrayAdapter (and so won't detect cases where the implementation fails for third-party implementations).
@nicolas-grekas do you think we could easily improve the tests of the ProxyAdapter ?

@nicolas-grekasnicolas-grekas changed the titleFix #60160: ChainAdapter accepts CacheItemPoolInterface, so it should…Fix proxying third party PSR-6 cache itemsApr 7, 2025
@carsonbotcarsonbot changed the titleFix proxying third party PSR-6 cache items[Cache] Fix proxying third party PSR-6 cache itemsApr 7, 2025
@nicolas-grekas
Copy link
Member

Thank you@PatchRanger.

PatchRanger reacted with thumbs up emoji

@nicolas-grekasnicolas-grekas merged commit31135c7 intosymfony:6.4Apr 7, 2025
10 of 11 checks passed
This was referencedMay 2, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@stofstofstof approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

4 participants
@PatchRanger@stof@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp