| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 81.82% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class StationWrapper extends SpacecraftWrapper implements StationWrapperInterface |
||
| 17 | { |
||
| 18 | 21 | #[Override] |
|
| 19 | public function get(): StationInterface |
||
| 20 | { |
||
| 21 | 21 | return $this->spacecraft; |
|
| 22 | } |
||
| 23 | |||
| 24 | #[Override] |
||
| 25 | public function getFleetWrapper(): ?FleetWrapperInterface |
||
| 26 | { |
||
| 27 | return null; |
||
| 28 | } |
||
| 29 | |||
| 30 | 3 | #[Override] |
|
| 31 | public function canBeScrapped(): bool |
||
| 32 | { |
||
| 33 | 3 | $station = $this->get(); |
|
| 34 | |||
| 35 | 3 | return $station->getState() !== SpacecraftStateEnum::UNDER_SCRAPPING; |
|
| 36 | } |
||
| 37 | |||
| 38 | 1 | #[Override] |
|
| 44 | 1 | ); |
|
| 45 | } |
||
| 46 | } |
||
| 47 |
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