chore: bump utopia-php/cache to ^3.0#104
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Greptile SummaryThis PR bumps the
Confidence Score: 4/5Safe to merge after updating the declared PHP minimum to >=8.3 to match the transitive dependency. The new utopia-php/cache 3.0.0 requires PHP >=8.3, but this package still advertises PHP >=8.2. Any consumer running PHP 8.2 will hit a platform conflict on install. The fix is a one-line change to composer.json. composer.json — the PHP platform constraint needs to be updated from >=8.2 to >=8.3. Important Files Changed
Reviews (2): Last reviewed commit: "chore: update composer.lock for cache 3...." | Re-trigger Greptile |
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
| @@ -29,7 +29,7 @@ | |||
| "require": { | |||
| "php": ">=8.2", | |||
There was a problem hiding this comment.
The new
utopia-php/cache 3.0.0 declares "php": ">=8.3" in its own composer.json (visible in the lock file diff), but this project still advertises "php": ">=8.2". A consumer running PHP 8.2 will get a dependency-resolution conflict when they composer require utopia-php/vcs, because Composer will refuse to install a transitive dependency whose platform requirement is not satisfied. The minimum PHP version for this package should be raised to match.
| "php": ">=8.2", | |
| "php": ">=8.3", |
Summary
utopia-php/cacheconstraint from^2.0to^3.0.Breaking changes review
The 3.0 release (PR #71) extracted retry methods (
setMaxRetries,setRetryDelay,getMaxRetries,getRetryDelay) and theMIN_RETRIES/MAX_RETRIESconstants off the baseAdapterinterface into a newFeature\Retryableinterface. This repo only callsCache::load()andCache::save()(insrc/VCS/Adapter/Git/GitHub.php), whose signatures are unchanged — so no code changes are required.Test plan
composer installcomposer test🤖 Generated with Claude Code