Skip to content

Commit

Permalink
make sure we install php-interop 1 when asking for the psr factory, t…
Browse files Browse the repository at this point in the history
…he 0.x versions are for the php-http factories
  • Loading branch information
dbu committed Mar 28, 2024
1 parent 7fbed2f commit abda0a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
},
"conflict": {
"nyholm/psr7": "<1.0",
"sebastian/comparator": ">=5.0",
"zendframework/zend-diactoros": "*"
},
"prefer-stable": true,
Expand Down
4 changes: 2 additions & 2 deletions src/Composer/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface
'slim/psr7' => [],
'laminas/laminas-diactoros' => [],
'phalcon/cphalcon:^4' => [],
'http-interop/http-factory-guzzle' => [],
'http-interop/http-factory-guzzle:>=1' => [],
'http-interop/http-factory-diactoros' => [],
'http-interop/http-factory-slim' => [],
'httpsoft/http-message' => [],
Expand All @@ -98,7 +98,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface
'php-http/react-adapter' => 'react/event-loop',
'php-http/buzz-adapter' => 'kriswallsmith/buzz:^0.15.1',
'php-http/artax-adapter' => 'amphp/artax:^3',
'http-interop/http-factory-guzzle' => 'guzzlehttp/psr7:^1',
'http-interop/http-factory-guzzle:>=1' => 'guzzlehttp/psr7:^1',
'http-interop/http-factory-slim' => 'slim/slim:^3',
];

Expand Down

0 comments on commit abda0a6

Please sign in to comment.