| Total Complexity | 6 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 19 | final class CBytesBuffer implements TypedCDataInterface |
||
| 20 | { |
||
| 21 | private CData $cdata; |
||
| 22 | |||
| 23 | public function __construct(CData $cdata) |
||
| 24 | { |
||
| 25 | $this->cdata = $cdata; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** @return static */ |
||
| 29 | public static function fromCData(CData $cdata): self |
||
| 30 | { |
||
| 31 | return new self($cdata); |
||
| 32 | } |
||
| 33 | |||
| 34 | public static function getCTypeName(): string |
||
| 37 | } |
||
| 38 | |||
| 39 | public function write(string $content, int $size): void |
||
| 40 | { |
||
| 41 | \FFI::memcpy($this->cdata, $content, $size); |
||
| 42 | } |
||
| 43 | |||
| 44 | public function toCData(CData $cdata): CData |
||
| 47 | } |
||
| 48 | |||
| 49 | public static function newCData(): CData |
||
| 55 |
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