Total Complexity | 6 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
22 | final class FuseDirFill implements TypedCDataInterface |
||
23 | { |
||
24 | /** @var \Fuse\FuseDirFillCData */ |
||
25 | private CData $cdata; |
||
26 | |||
27 | public function __invoke(FuseDirHandle $dirhandle, string $name, int $type, int $ino): int |
||
28 | { |
||
29 | /** @var int */ |
||
30 | return ($this->cdata)($dirhandle->toCData(null), $name, $type, $ino); |
||
31 | } |
||
32 | |||
33 | public static function getCTypeName(): string |
||
34 | { |
||
35 | return 'fuse_dirfil_t'; |
||
36 | } |
||
37 | |||
38 | /** @param \Fuse\FuseDirFillCData $cdata */ |
||
39 | public function __construct(CData $cdata) |
||
40 | { |
||
41 | $this->cdata = $cdata; |
||
42 | } |
||
43 | |||
44 | /** @return self */ |
||
45 | public static function fromCData(CData $cdata): self |
||
46 | { |
||
47 | /** @var \Fuse\FuseDirFillCData $cdata */ |
||
48 | return new self($cdata); |
||
49 | } |
||
50 | |||
51 | public function toCData(CData $cdata): CData |
||
52 | { |
||
53 | return $cdata; |
||
54 | } |
||
55 | |||
56 | public static function newCData(): CData |
||
59 | } |
||
60 | } |
||
61 |
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