| Total Complexity | 7 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 86.67% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Event { |
||
| 11 | |||
| 12 | private string $imageUrl = ''; |
||
| 13 | |||
| 14 | public function __construct( |
||
| 15 | private Subject $subject, |
||
| 16 | private SMWDITime $startDate, |
||
| 17 | 3 | private ?SMWDITime $endDate |
|
| 18 | 3 | ) { |
|
| 19 | 3 | } |
|
| 20 | 3 | ||
| 21 | 3 | public function getSubject(): Subject { |
|
| 23 | 3 | } |
|
| 24 | 3 | ||
| 25 | public function getStartDate(): SMWDITime { |
||
| 26 | return $this->startDate; |
||
| 27 | 3 | } |
|
| 28 | 3 | ||
| 29 | public function getEndDate(): ?SMWDITime { |
||
| 30 | return $this->endDate; |
||
| 31 | 3 | } |
|
| 32 | 3 | ||
| 33 | public function hasImage(): bool { |
||
| 35 | 3 | } |
|
| 36 | 3 | ||
| 37 | public function getImageUrl(): string { |
||
| 39 | } |
||
| 40 | |||
| 41 | public function setImageUrl( string $url ): void { |
||
| 43 | } |
||
| 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