Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | abstract class Request extends \hiqdev\hiart\AbstractRequest |
||
16 | { |
||
17 | /** |
||
18 | * @var object |
||
19 | */ |
||
20 | protected $worker; |
||
21 | |||
22 | abstract protected function createWorker(); |
||
23 | |||
24 | public function send($options = []) |
||
25 | { |
||
26 | try { |
||
27 | $responseWorker = $this->getHandler()->send($this->getWorker(), $options); |
||
28 | } catch (BadResponseException $exception) { |
||
29 | $responseWorker = $exception->getResponse(); |
||
30 | } |
||
31 | |||
32 | return new $this->responseClass($this, $responseWorker); |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return object Worker |
||
37 | */ |
||
38 | public function getWorker() |
||
46 | } |
||
47 | } |
||
48 |
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