Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class ApiRequester extends AbstractRequester |
||
16 | { |
||
17 | /** @var HttpClient */ |
||
18 | private $httpClient; |
||
19 | |||
20 | /** |
||
21 | * ApiRequester constructor. |
||
22 | * @throws MessageException |
||
23 | */ |
||
24 | public function __construct() |
||
25 | { |
||
26 | $this->httpClient = HttpClient::getInstance() |
||
27 | ->withNoFollowRedirect(); |
||
28 | |||
29 | parent::__construct(); |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @param RequestInterface $request |
||
34 | * @return Response|ResponseInterface |
||
35 | * @throws CurlException |
||
36 | * @throws MessageException |
||
37 | */ |
||
38 | protected function handleRequest(RequestInterface $request) |
||
42 | } |
||
43 | } |
||
44 |
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