Skip to content

Commit 298a470

Browse files
authored
add missing requirements of symfony/http-client to composer plugin
1 parent bc31255 commit 298a470

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Composer/Plugin.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ class Plugin implements PluginInterface, EventSubscriberInterface
4545
*/
4646
private const PROVIDE_RULES = [
4747
'php-http/async-client-implementation' => [
48-
'symfony/http-client:>=6.3' => ['guzzlehttp/promises', 'psr/http-factory-implementation'],
49-
'symfony/http-client' => ['guzzlehttp/promises', 'php-http/message-factory', 'psr/http-factory-implementation'],
48+
'symfony/http-client:>=6.3' => ['guzzlehttp/promises', 'psr/http-factory-implementation', 'php-http/httplug'],
49+
'symfony/http-client' => ['guzzlehttp/promises', 'php-http/message-factory', 'psr/http-factory-implementation', 'php-http/httplug'],
5050
'php-http/guzzle7-adapter' => [],
5151
'php-http/guzzle6-adapter' => [],
5252
'php-http/curl-client' => [],
5353
'php-http/react-adapter' => [],
5454
],
5555
'php-http/client-implementation' => [
56-
'symfony/http-client:>=6.3' => ['psr/http-factory-implementation'],
57-
'symfony/http-client' => ['php-http/message-factory', 'psr/http-factory-implementation'],
56+
'symfony/http-client:>=6.3' => ['psr/http-factory-implementation', 'php-http/httplug'],
57+
'symfony/http-client' => ['php-http/message-factory', 'psr/http-factory-implementation', 'php-http/httplug'],
5858
'php-http/guzzle7-adapter' => [],
5959
'php-http/guzzle6-adapter' => [],
6060
'php-http/cakephp-adapter' => [],
@@ -65,7 +65,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface
6565
'kriswallsmith/buzz:^1' => [],
6666
],
6767
'psr/http-client-implementation' => [
68-
'symfony/http-client' => ['psr/http-factory-implementation'],
68+
'symfony/http-client' => ['psr/http-factory-implementation', 'psr/http-client'],
6969
'guzzlehttp/guzzle' => [],
7070
'kriswallsmith/buzz:^1' => [],
7171
],

0 commit comments

Comments
 (0)