| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | final class PhpSearcherWorkerProtocol implements PhpSearcherWorkerProtocolInterface |
||
| 23 | { |
||
| 24 | private Channel $channel; |
||
| 25 | |||
| 26 | public function __construct(Channel $channel) |
||
| 27 | { |
||
| 28 | $this->channel = $channel; |
||
| 29 | } |
||
| 30 | |||
| 31 | public static function createFromChannel(Channel $channel): self |
||
| 32 | { |
||
| 33 | return new self($channel); |
||
| 34 | } |
||
| 35 | |||
| 36 | public function receiveTargetRegex(): Promise |
||
| 37 | { |
||
| 38 | /** @var Promise<TargetRegexMessage> */ |
||
| 39 | return $this->channel->receive(); |
||
| 40 | } |
||
| 41 | |||
| 42 | public function sendUpdateTargetProcess(UpdateTargetProcessMessage $message): Promise |
||
| 45 | } |
||
| 46 | } |
||
| 47 |
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