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 3f92725
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"php-http/httplug": "^1.0 || ^2.0",
"php-http/message-factory": "^1.0",
"phpspec/phpspec": "^5.1 || ^6.1 || ^7.3",
"symfony/phpunit-bridge": "^6.4.4 || ^7.0.1"
"symfony/phpunit-bridge": "^6.4.4 || ^7.0.1",
"sebastian/comparator": "^3.0.5 || ^4.0.8"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -56,7 +57,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 3f92725

Please sign in to comment.