| Total Complexity | 6 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | final class PhpReaderWorkerProtocol implements PhpReaderWorkerProtocolInterface |
||
| 25 | { |
||
| 26 | public function __construct( |
||
| 27 | private Channel $channel |
||
| 28 | ) { |
||
| 29 | } |
||
| 30 | |||
| 31 | public static function createFromChannel(Channel $channel): static |
||
| 32 | { |
||
| 33 | return new self($channel); |
||
| 34 | } |
||
| 35 | |||
| 36 | public function receiveSettings(): Promise |
||
| 40 | } |
||
| 41 | |||
| 42 | public function receiveAttach(): Promise |
||
| 46 | } |
||
| 47 | |||
| 48 | public function sendTrace(TraceMessage $message): Promise |
||
| 49 | { |
||
| 50 | return $this->channel->send($message); |
||
| 51 | } |
||
| 52 | |||
| 53 | public function sendDetachWorker(DetachWorkerMessage $message): Promise |
||
| 56 | } |
||
| 57 | } |
||
| 58 |
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