| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class GuzzleClient implements ClientInterface |
||
| 14 | { |
||
| 15 | private Client $client; |
||
| 16 | private array $middleware; |
||
| 17 | |||
| 18 | public function __construct(Client $client, array $middleware = []) |
||
| 22 | } |
||
| 23 | |||
| 24 | public function sendRequest(RequestInterface $request): ResponseInterface |
||
| 25 | { |
||
| 26 | return $this->client->send($request, $this->defaultOptions($request->getHeaders())); |
||
| 27 | } |
||
| 28 | |||
| 29 | private function defaultOptions(array $headers): array |
||
| 45 | ), |
||
| 46 | ]; |
||
| 49 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths