Skip to content

Commit 14077dc

Browse files
authored
feature KnpLabs#1029 Allow psr/cache 2.0 as well as 1.0 (johnnoel)
This PR was merged into the 3.4.x-dev branch. Discussion ---------- Updates the composer.json file to allow for `psr/cache` version 2.0 which is the default installed alongside frameworks like Symfony 5.3. As far as I can tell it's API compatible and the test suite passes with 2.0 installed. Could also extend the versions to allow 3.0 (which is what projects like `doctrine/persistence`) do but not sure what 3.0 brings to the table. Commits ------- 5d77c81 Allow psr/cache 2.0 as well as 1.0
2 parents 8200d6c + 5d77c81 commit 14077dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"php-http/discovery": "^1.12",
2525
"php-http/httplug": "^2.2",
2626
"php-http/multipart-stream-builder": "^1.1.2",
27-
"psr/cache": "^1.0",
27+
"psr/cache": "^1.0|^2.0",
2828
"psr/http-client-implementation": "^1.0",
2929
"psr/http-factory-implementation": "^1.0",
3030
"psr/http-message": "^1.0",

0 commit comments

Comments
 (0)