Total Complexity | 7 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 73.32% |
Changes | 0 |
1 | <?php |
||
10 | class HeyMan |
||
11 | { |
||
12 | use Turn; |
||
13 | |||
14 | 14 | public function forget(): Forget |
|
15 | { |
||
16 | 14 | return new Forget(); |
|
17 | } |
||
18 | |||
19 | 106 | public function __call($method, $args) |
|
20 | { |
||
21 | 106 | resolve('heyman.chain')->startChain(); |
|
22 | |||
23 | 106 | if (config()->get('app.debug') and ! app()->environment('production')) { |
|
24 | $info = array_only(debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2)[1], ['file', 'line', 'args']); |
||
25 | resolve('heyman.chain')->set('debugInfo', $info); |
||
26 | } |
||
27 | |||
28 | 106 | return SituationsProxy::call($method, $args); |
|
29 | } |
||
30 | |||
31 | public function makeSure($testCase): HttpClient |
||
32 | { |
||
33 | return new HttpClient($testCase); |
||
34 | } |
||
35 | |||
36 | 2 | public function checkPoint(string $pointName) |
|
39 | 1 | } |
|
40 | |||
41 | 1 | public function condition(string $name, $callable) |
|
44 | 1 | } |
|
45 | } |
||
46 |
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