10000 [HttpClient] Dev-require php-http/message-factory · symfony/symfony@3683d73 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3683d73

Browse files
[HttpClient] Dev-require php-http/message-factory
1 parent 85ce2b6 commit 3683d73

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
"nyholm/psr7": "^1.0",
137137
"pda/pheanstalk": "^4.0",
138138
"php-http/httplug": "^1.0|^2.0",
139+
"php-http/message-factory": "^1.0",
139140
"phpstan/phpdoc-parser": "^1.0",
140141
"predis/predis": "~1.1",
141142
"psr/http-client": "^1.0",

src/Symfony/Component/HttpClient/HttplugClient.php

Lines changed: 1 addition & 1 deletion
8000
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
}
4848

4949
if (!interface_exists(RequestFactory::class)) {
50-
throw new \LogicException('You cannot use "Symfony\Component\HttpClient\HttplugClient" as the "php-http/message-factory" package is not installed. Try running "composer require nyholm/psr7".');
50+
throw new \LogicException('You cannot use "Symfony\Component\HttpClient\HttplugClient" as the "php-http/message-factory" package is not installed. Try running "composer require php-http/message-factory".');
5151
}
5252

5353
/**

src/Symfony/Component/HttpClient/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"guzzlehttp/promises": "^1.4",
3939
"nyholm/psr7": "^1.0",
4040
"php-http/httplug": "^1.0|^2.0",
41+
"php-http/message-factory": "^1.0",
4142
"psr/http-client": "^1.0",
4243
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
4344
"symfony/http-kernel": "^4.4.13|^5.1.5|^6.0",

0 commit comments

Comments
 (0)
0