Total Complexity | 2 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
29 | final class FuseBufVec implements TypedCDataInterface |
||
30 | { |
||
31 | use TypedCDataDefaultImplementationTrait; |
||
32 | |||
33 | public int $count; |
||
34 | public int $idx; |
||
35 | public int $off; |
||
36 | /** @var TypedCDataArray<FuseBuf> */ |
||
37 | public TypedCDataArray $buf; |
||
38 | |||
39 | /** |
||
40 | * @param int $count |
||
41 | * @param int $idx |
||
42 | * @param int $off |
||
43 | * @param TypedCDataArray<FuseBuf>|null $buf |
||
44 | */ |
||
45 | public function __construct( |
||
46 | int $count = 0, |
||
47 | int $idx = 0, |
||
48 | int $off = 0, |
||
49 | ?TypedCDataArray $buf = null |
||
50 | ) { |
||
51 | $this->count = $count; |
||
52 | $this->idx = $idx; |
||
53 | $this->off = $off; |
||
54 | /** @var \FFI\CDataArray $fuse_buf */ |
||
55 | $fuse_buf = FuseBuf::newCData(); |
||
56 | $this->buf = $buf ?? new TypedCDataArray( |
||
57 | $fuse_buf, |
||
58 | FuseBuf::class |
||
59 | ); |
||
60 | } |
||
61 | |||
62 | public static function getCTypeName(): string |
||
65 | } |
||
66 | } |
||
67 |
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