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