Skip to content

Commit abda0a6

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 abda0a6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

composer.json

-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
},
5757
"conflict": {
5858
"nyholm/psr7": "<1.0",
59-
"sebastian/comparator": ">=5.0",
6059
"zendframework/zend-diactoros": "*"
6160
},
6261
"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)