@@ -17,6 +17,6 @@ |
||
| 17 | 17 | $this->setHandlers([ |
| 18 | 18 | new StreamHandler('php://memory', \Monolog\Logger::DEBUG), |
| 19 | 19 | ]); |
| 20 | - } |
|
| 20 | + } |
|
| 21 | 21 | |
| 22 | 22 | } |
@@ -2,12 +2,9 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | namespace drupol\Yaroc\Http; |
| 4 | 4 | |
| 5 | -use drupol\Yaroc\Http\Client\Common\Plugin\LoggerPlugin; |
|
| 6 | -use drupol\Yaroc\Http\Message\Formatter\Formatter; |
|
| 7 | -use drupol\Yaroc\Plugin\MethodPluginInterface; |
|
| 8 | 5 | use Http\Client\Common\HttpMethodsClient; |
| 9 | -use Http\Client\Common\Plugin\HeaderDefaultsPlugin; |
|
| 10 | 6 | use Http\Client\Common\PluginClient; |
| 7 | +use Http\Client\Common\Plugin\HeaderDefaultsPlugin; |
|
| 11 | 8 | use Http\Client\HttpClient; |
| 12 | 9 | use Http\Discovery\HttpClientDiscovery; |
| 13 | 10 | use Http\Discovery\MessageFactoryDiscovery; |
@@ -16,6 +13,9 @@ discard block |
||
| 16 | 13 | use Psr\Http\Message\ResponseInterface; |
| 17 | 14 | use Psr\Http\Message\UriInterface; |
| 18 | 15 | use Psr\Log\LoggerInterface; |
| 16 | +use drupol\Yaroc\Http\Client\Common\Plugin\LoggerPlugin; |
|
| 17 | +use drupol\Yaroc\Http\Message\Formatter\Formatter; |
|
| 18 | +use drupol\Yaroc\Plugin\MethodPluginInterface; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Class Client |
@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace drupol\Yaroc; |
| 4 | 4 | |
| 5 | +use Http\Client\HttpClient; |
|
| 6 | +use Psr\Http\Message\ResponseInterface; |
|
| 7 | +use Psr\Log\LoggerInterface; |
|
| 5 | 8 | use drupol\Yaroc\Http\Client; |
| 6 | 9 | use drupol\Yaroc\Log\Logger; |
| 7 | 10 | use drupol\Yaroc\Plugin\MethodPluginInterface; |
| 8 | 11 | use drupol\Yaroc\Plugin\MethodPluginManager; |
| 9 | -use Http\Client\HttpClient; |
|
| 10 | -use Psr\Http\Message\ResponseInterface; |
|
| 11 | -use Psr\Log\LoggerInterface; |
|
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * Class RandomOrgAPIClient |