Skip to content

Commit a4290e0

Browse files
authored
Allow using psr/cache 2.0 (#667)
Since version 1.7.2, php-http/cache-plugin can work with psr/cache 2.0 (this was the only difference in their changelog). Here, we allow both versions to remain compatible with PHP 7
1 parent 85abcc5 commit a4290e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
"php": "^7.2.5 || ^8.0",
2626
"ext-json": "*",
2727
"ext-xml": "*",
28-
"php-http/cache-plugin": "^1.7.1",
28+
"php-http/cache-plugin": "^1.7.2",
2929
"php-http/client-common": "^2.3",
3030
"php-http/discovery": "^1.12",
3131
"php-http/httplug": "^2.2",
3232
"php-http/multipart-stream-builder": "^1.1.2",
33-
"psr/cache": "^1.0",
33+
"psr/cache": "^1.0 || ^2.0",
3434
"psr/http-client-implementation": "^1.0",
3535
"psr/http-factory-implementation": "^1.0",
3636
"psr/http-message": "^1.0",

0 commit comments

Comments
 (0)