| Total Complexity | 6 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class LssSystemData extends AbstractSystemData |
||
| 12 | { |
||
| 13 | public int $sensorRange = 0; |
||
| 14 | public SpacecraftLssModeEnum $mode = SpacecraftLssModeEnum::NORMAL; |
||
| 15 | |||
| 16 | #[Override] |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getTheoreticalMaxSensorRange(): int |
||
| 23 | { |
||
| 24 | return $this->sensorRange; |
||
| 25 | } |
||
| 26 | |||
| 27 | 2 | public function getSensorRange(): int |
|
| 28 | { |
||
| 29 | 2 | return (int) (ceil($this->sensorRange |
|
| 30 | 2 | * $this->spacecraft->getSpacecraftSystem(SpacecraftSystemTypeEnum::LSS)->getStatus() / 100)); |
|
| 31 | } |
||
| 32 | |||
| 33 | public function setSensorRange(int $sensorRange): LssSystemData |
||
| 38 | } |
||
| 39 | |||
| 40 | 2 | public function getMode(): SpacecraftLssModeEnum |
|
| 43 | } |
||
| 44 | |||
| 45 | public function setMode(SpacecraftLssModeEnum $lssMode): LssSystemData |
||
| 51 |
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