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