Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class Usage implements UsageInterface |
||
18 | { |
||
19 | private TargetInterface $target; |
||
20 | private DateTimeImmutable $time; |
||
21 | private TypeInterface $type; |
||
22 | private Quantity $amount; |
||
23 | |||
24 | public function __construct(TargetInterface $target, DateTimeImmutable $time, TypeInterface $type, Quantity $amount) |
||
25 | { |
||
26 | $this->target = $target; |
||
27 | $this->time = $time; |
||
28 | $this->type = $type; |
||
29 | $this->amount = $amount; |
||
30 | } |
||
31 | |||
32 | public function target(): TargetInterface |
||
35 | } |
||
36 | |||
37 | public function time(): DateTimeImmutable |
||
38 | { |
||
39 | return $this->time; |
||
40 | } |
||
41 | |||
42 | public function type(): TypeInterface |
||
43 | { |
||
44 | return $this->type; |
||
45 | } |
||
46 | |||
47 | public function amount(): Quantity |
||
50 | } |
||
51 | } |
||
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