Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
8 | class LeasingWasFinished extends AbstractEvent |
||
9 | { |
||
10 | /** |
||
11 | * @var PriceInterface |
||
12 | */ |
||
13 | private $price; |
||
14 | /** |
||
15 | * @var \DateTimeImmutable |
||
16 | */ |
||
17 | private $date; |
||
18 | |||
19 | private function __construct(PriceInterface $price, \DateTimeImmutable $date) |
||
23 | } |
||
24 | |||
25 | public static function forPriceInMonth(PriceInterface $price, \DateTimeImmutable $date): self |
||
26 | { |
||
27 | return new self($price, $date); |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return PriceInterface |
||
32 | */ |
||
33 | public function getPrice(): PriceInterface |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return \DateTimeImmutable |
||
40 | */ |
||
41 | public function getDate(): \DateTimeImmutable |
||
44 | } |
||
45 | } |
||
46 |
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