Skip to content

Commit 4057817

Browse files
authored
Merge pull request #60 from nicolas-grekas/discovery
Rely on abstract packages to auto-install PSR-17 factories
2 parents 62a9c4c + bed5017 commit 4057817

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

composer.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
],
1313
"require": {
1414
"php": "^7.1 || ^8.0",
15-
"psr/http-message": "^1.0 || ^2.0",
16-
"psr/http-factory": "^1.0",
17-
"php-http/message-factory": "^1.0.2",
18-
"php-http/discovery": "^1.7"
15+
"php-http/discovery": "^1.15",
16+
"psr/http-factory-implementation": "^1.0"
1917
},
2018
"require-dev": {
2119
"phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3",
2220
"php-http/message": "^1.5",
21+
"php-http/message-factory": "^1.0.2",
2322
"nyholm/psr7": "^1.0"
2423
},
2524
"autoload": {
@@ -35,5 +34,10 @@
3534
"scripts": {
3635
"test": "vendor/bin/phpunit",
3736
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
37+
},
38+
"config": {
39+
"allow-plugins": {
40+
"php-http/discovery": false
41+
}
3842
}
3943
}

0 commit comments

Comments
 (0)