Skip to content

Commit ee9bc59

Browse files
authored
feature KnpLabs#1122 allow psr/http-message v2 (LordSimal)
This PR was merged into the 3.11.x-dev branch. Discussion ---------- Modern frameworks like CakePHP 5 [require psr/http-message v2](https://github.com/cakephp/cakephp/blob/5.x/composer.json#L37) Commits ------- 2a3a71b allow psr/http-message v2
2 parents a9c261e + 2a3a71b commit ee9bc59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"psr/cache": "^1.0|^2.0|^3.0",
2828
"psr/http-client-implementation": "^1.0",
2929
"psr/http-factory-implementation": "^1.0",
30-
"psr/http-message": "^1.0",
30+
"psr/http-message": "^1.0|^2.0",
3131
"symfony/polyfill-php80": "^1.17",
3232
"symfony/deprecation-contracts": "^2.2|^3.0"
3333
},
@@ -58,7 +58,8 @@
5858
"config": {
5959
"allow-plugins": {
6060
"phpstan/extension-installer": true,
61-
"composer/package-versions-deprecated": true
61+
"composer/package-versions-deprecated": true,
62+
"php-http/discovery": true
6263
}
6364
}
6465
}

0 commit comments

Comments
 (0)