| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 90% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Sleeper |
||
| 8 | { |
||
| 9 | private Client $client; |
||
| 10 | |||
| 11 | 1 | public function __construct($mock = NULL) |
|
| 14 | 1 | } |
|
| 15 | |||
| 16 | /** |
||
| 17 | * @param string $method |
||
| 18 | * @param string $parameters |
||
| 19 | * @return class |
||
|
|
|||
| 20 | * @throws BadMethodCallException |
||
| 21 | */ |
||
| 22 | 1 | public function __call($method, array $parameters = []) |
|
| 23 | { |
||
| 24 | 1 | return $this->getApiInstance($method); |
|
| 25 | } |
||
| 26 | |||
| 27 | 1 | protected function getApiInstance($method): object |
|
| 35 | } |
||
| 36 | |||
| 38 |
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