diff --git a/CHANGELOG.md b/CHANGELOG.md index c61862f..487fc48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unreleased +- Allow `psr/cache` v2 ## 3.0.0 - 2022-04-22 - [**BC**] Require php 8.1 diff --git a/composer.json b/composer.json index cf2e9d1..9ce3666 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "ext-hash": "*", "ext-json": "*", "ext-mbstring": "*", - "psr/cache": "^3.0", + "psr/cache": "^2.0 || ^3.0", "psr/http-client": "^1.0", "psr/http-message": "^1.0" }, @@ -33,9 +33,9 @@ }, "config": { "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true, "ergebnis/composer-normalize": true, - "phpstan/extension-installer": true, - "dealerdirect/phpcodesniffer-composer-installer": true + "phpstan/extension-installer": true }, "sort-packages": true },