Skip to content

Updates to PSR Simple Cache v2 and v3#14

Merged
francislavoie merged 4 commits intodevelopfrom
psr-simple-cache-update
Jun 26, 2025
Merged

Updates to PSR Simple Cache v2 and v3#14
francislavoie merged 4 commits intodevelopfrom
psr-simple-cache-update

Conversation

@francislavoie
Copy link
Copy Markdown
Contributor

Updates the package to be compatible with PSR Simple Cache versions 2 and 3.

  • Updates the psr/simple-cache dependency in composer.json to allow versions ^2.0 || ^3.0.
  • Modifies the SimpleCacheAdapter to align with changes in PSR-16. This primarily involves type hinting and return type declarations for better compatibility and code clarity.

@francislavoie francislavoie force-pushed the psr-simple-cache-update branch from 6c43389 to 8a4924e Compare June 26, 2025 21:02
@francislavoie francislavoie merged commit 480b1c0 into develop Jun 26, 2025
15 of 16 checks passed
@francislavoie francislavoie deleted the psr-simple-cache-update branch June 26, 2025 21:04
@jdpanderson
Copy link
Copy Markdown
Member

jdpanderson commented Jun 26, 2025

I wasn't quick enough, but it's a simple change. You've got my 👍!

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