@@ -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,15 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace drupol\Yaroc; |
| 4 | 4 | |
| 5 | -use drupol\Yaroc\Http\Client; |
|
| 6 | -use drupol\Yaroc\Log\Logger; |
|
| 7 | -use drupol\Yaroc\Plugin\MethodPluginInterface; |
|
| 8 | -use drupol\Yaroc\Plugin\MethodPluginManager; |
|
| 9 | 5 | use Http\Client\HttpClient; |
| 10 | -use Http\Message\Decorator\ResponseDecorator; |
|
| 11 | 6 | use Mockery\Generator\Method; |
| 12 | 7 | use Psr\Http\Message\ResponseInterface; |
| 13 | 8 | use Psr\Log\LoggerInterface; |
| 9 | +use drupol\Yaroc\Http\Client; |
|
| 10 | +use drupol\Yaroc\Log\Logger; |
|
| 11 | +use drupol\Yaroc\Plugin\MethodPluginInterface; |
|
| 12 | +use drupol\Yaroc\Plugin\MethodPluginManager; |
|
| 14 | 13 | |
| 15 | 14 | /** |
| 16 | 15 | * Class RandomOrgAPIClient |