| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function fromParser(Parser $parser): ExtraPayloadInterface |
||
| 31 | {
|
||
| 32 | $extra_payload_size = $this->varint->read($parser); |
||
| 33 | |||
| 34 | if ($extra_payload_size > $parser->getSize() - $parser->getPosition()) {
|
||
| 35 | throw new ParserOutOfRange("Invalid Extra Payload Size");
|
||
|
|
|||
| 36 | } |
||
| 37 | |||
| 38 | $extraPayloadBuffer = $parser->readBytes((int) $extra_payload_size); |
||
| 39 | |||
| 40 | return new ExtraPayload($extraPayloadBuffer); |
||
| 41 | } |
||
| 52 |
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