Skip to content

Commit 6d949db

Browse files
committed
Allow psr/http-message:^2
Also allow expected composer plugins and set minimum php version to keep lockfile compatible with lowest supported version . Adds parameter and return type hints to all test stubs for psr/http-message v2 compatibility. Some tests will fail due to incompatible signatures when deps are at lowest.
1 parent eb5d1d4 commit 6d949db

File tree

5 files changed

+1204
-1191
lines changed

5 files changed

+1204
-1191
lines changed

composer.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,19 @@
99
"email": "[email protected]"
1010
}
1111
],
12+
"config": {
13+
"allow-plugins": {
14+
"dealerdirect/phpcodesniffer-composer-installer": true,
15+
"phpstan/extension-installer": true
16+
},
17+
"platform": {
18+
"php": "7.2.99"
19+
}
20+
},
1221
"require": {
1322
"php": "^7.2 || ^8.0",
1423
"ext-pcre": "*",
15-
"psr/http-message": "^1"
24+
"psr/http-message": "^1.0.1 || ^2"
1625
},
1726
"autoload": {
1827
"psr-4": {

0 commit comments

Comments
 (0)