Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | final class PhpSearcherContext |
||
24 | { |
||
25 | private Context\Context $context; |
||
26 | |||
27 | public function __construct(Context\Context $context) |
||
28 | { |
||
29 | $this->context = $context; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return Promise<null> |
||
34 | */ |
||
35 | public function start(): Promise |
||
36 | { |
||
37 | return $this->context->start(); |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @param string $regex |
||
42 | * @return Promise<int> |
||
43 | */ |
||
44 | public function sendTargetRegex(string $regex): Promise |
||
45 | { |
||
46 | /** @var Promise<int> */ |
||
47 | return $this->context->send($regex); |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * @return Promise<int[]> |
||
52 | */ |
||
53 | public function receivePidList(): Promise |
||
57 | } |
||
58 | } |
||
59 |
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