Skip to content

Commit b37e0bb

Browse files
committed
support client-common 2.0
1 parent 480b7fa commit b37e0bb

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee
44

55
## Unreleased
66

7+
### Changed
8+
9+
- Allow version 2 of `php-http/client-common`
10+
711
### Fixed
812

913
- Fix deprecated notice when using symfony/config > 4.2

DependencyInjection/HttplugExtension.php

+2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
namespace Http\HttplugBundle\DependencyInjection;
44

55
use Http\Client\Common\BatchClient;
6+
use Http\Client\Common\BatchClientImpl;
67
use Http\Client\Common\FlexibleHttpClient;
78
use Http\Client\Common\HttpMethodsClient;
9+
use Http\Client\Common\HttpMethodsClientImpl;
810
use Http\Client\Common\Plugin\AuthenticationPlugin;
911
use Http\Client\Common\PluginClient;
1012
use Http\Client\Common\PluginClientFactory;

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": "^5.5 || ^7.0",
20-
"php-http/client-common": "^1.6",
20+
"php-http/client-common": "^1.6 || ^2.0",
2121
"php-http/client-implementation": "^1.0",
2222
"php-http/cache-plugin": "^1.4",
2323
"php-http/discovery": "^1.0",

0 commit comments

Comments
 (0)