Skip to content

Commit 3f92725

Browse files
committed
make sure we install php-interop 1 when asking for the psr factory, the 0.x versions are for the php-http factories
1 parent 7fbed2f commit 3f92725

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"php-http/httplug": "^1.0 || ^2.0",
2929
"php-http/message-factory": "^1.0",
3030
"phpspec/phpspec": "^5.1 || ^6.1 || ^7.3",
31-
"symfony/phpunit-bridge": "^6.4.4 || ^7.0.1"
31+
"symfony/phpunit-bridge": "^6.4.4 || ^7.0.1",
32+
"sebastian/comparator": "^3.0.5 || ^4.0.8"
3233
},
3334
"autoload": {
3435
"psr-4": {
@@ -56,7 +57,6 @@
5657
},
5758
"conflict": {
5859
"nyholm/psr7": "<1.0",
59-
"sebastian/comparator": ">=5.0",
6060
"zendframework/zend-diactoros": "*"
6161
},
6262
"prefer-stable": true,

src/Composer/Plugin.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface
7878
'slim/psr7' => [],
7979
'laminas/laminas-diactoros' => [],
8080
'phalcon/cphalcon:^4' => [],
81-
'http-interop/http-factory-guzzle' => [],
81+
'http-interop/http-factory-guzzle:>=1' => [],
8282
'http-interop/http-factory-diactoros' => [],
8383
'http-interop/http-factory-slim' => [],
8484
'httpsoft/http-message' => [],
@@ -98,7 +98,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface
9898
'php-http/react-adapter' => 'react/event-loop',
9999
'php-http/buzz-adapter' => 'kriswallsmith/buzz:^0.15.1',
100100
'php-http/artax-adapter' => 'amphp/artax:^3',
101-
'http-interop/http-factory-guzzle' => 'guzzlehttp/psr7:^1',
101+
'http-interop/http-factory-guzzle:>=1' => 'guzzlehttp/psr7:^1',
102102
'http-interop/http-factory-slim' => 'slim/slim:^3',
103103
];
104104

0 commit comments

Comments
 (0)