Closed mcrauwel closed 1 year ago
Hmm. Maybe we can do "psr/cache": "^1|^2|^3"
? What are the non-BC changes that they've made to the psr/cache API? I think we're using only CacheItemPoolInterface::getItem()
, CacheItemPoolInterface::save()
, CacheItemInterface::set()
and CacheItemInterface::expiresAfter()
.
Well that sounds hopeful. I'll test later and see how it goes. Maybe it'll be super simple. :-)
I've updated the psr/cache version requirement, see what you think of #56.
that does the trick!
...
- "psr/cache": "^1",
+ "psr/cache": "^3",
...
- "samwilson/phpflickr": "^4.14",
+ "samwilson/phpflickr": "dev-cache-update",
...
- "symfony/asset": "5.4.*",
- "symfony/console": "5.4.*",
- "symfony/dotenv": "5.4.*",
- "symfony/expression-language": "5.4.*",
+ "symfony/asset": "6.2.*",
+ "symfony/console": "6.2.*",
+ "symfony/dotenv": "6.2.*",
+ "symfony/expression-language": "6.2.*",
...
works like a charm!
Great, thanks for testing. I've made a new release.
🙇
Symfony 6.2 requires
psr/cache
^2
or^3
while phpflickr requirespsr/cache
^1
Composer update snippets... When upgrading from Symfony 5.4 to 6.2
When changing the requirement for
psr/cache
from^1
->^3