Drop doctrine/cache support (fixes #155, #188)#201
Merged
Kevinrob merged 2 commits intoAug 3, 2025
Conversation
Co-authored-by: Kevinrob <4509277+Kevinrob@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Drop doctrine/cache support and update tests
Drop doctrine/cache support (fixes #155, #188)
Aug 1, 2025
This was referenced Aug 1, 2025
Closed
Kevinrob
approved these changes
Aug 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes support for the deprecated
doctrine/cachepackage as requested in issues #155 and #188. Thedoctrine/cachepackage is intended to be abandoned and this change modernizes the codebase to focus on current PSR cache standards.Changes Made
Removed Dependencies
doctrine/cachefromrequire-devdependenciessuggestsection in composer.jsonRemoved Code
src/Storage/DoctrineCacheStorage.phpsrc/Storage/CompressedDoctrineCacheStorage.phpUpdated Tests
PrivateCacheTest.phpandPublicCacheTest.phpUpdated Documentation
Migration Path
Users currently using doctrine/cache should migrate to one of the modern alternatives:
Psr6CacheStoragewith any PSR-6 compatible cache poolPsr16CacheStoragewith any PSR-16 compatible cacheFlysystemStoragefor file-based cachingLaravelCacheStoragefor Laravel applicationsWordPressObjectCacheStoragefor WordPress applicationsValidation
This change ensures the library stays current with modern PHP caching standards while removing dependency on deprecated packages.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/kylekatarnls/update-helper/zipball/429be50660ed8a196e0798e5939760f168ec8ce9/usr/bin/php8.3 -n -c /tmp/q5D88n /usr/bin/composer install(http block)https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71/usr/bin/php8.3 -n -c /tmp/ZuYk88 /usr/bin/composer install --no-dev(http block)https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822/usr/bin/php8.3 -n -c /tmp/av2PIo /usr/bin/composer install --no-dev(http block)https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62/usr/bin/php8.3 -n -c /tmp/av2PIo /usr/bin/composer install --no-dev(http block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.