| Total Complexity | 6 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 77.27% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class ShieldSystemData extends AbstractSystemData |
||
| 12 | { |
||
| 13 | public int $shieldRegenerationTimer = 0; |
||
| 14 | |||
| 15 | #[Override] |
||
| 19 | } |
||
| 20 | |||
| 21 | public function setShieldRegenerationTimer(int $timestamp): ShieldSystemData |
||
| 22 | { |
||
| 23 | $this->shieldRegenerationTimer = $timestamp; |
||
| 24 | |||
| 25 | return $this; |
||
| 26 | } |
||
| 27 | |||
| 28 | 2 | public function getShieldStatusBar(): string |
|
| 29 | { |
||
| 30 | 2 | return $this->getStatusBar( |
|
| 31 | 2 | _('Schilde'), |
|
| 32 | 2 | $this->spacecraft->getShield(), |
|
| 33 | 2 | $this->spacecraft->getMaxShield(), |
|
| 34 | 2 | $this->spacecraft->getShieldState() ? StatusBarColorEnum::STATUSBAR_SHIELD_ON : StatusBarColorEnum::STATUSBAR_SHIELD_OFF |
|
| 35 | 2 | ) |
|
| 36 | 2 | ->render(); |
|
| 37 | } |
||
| 38 | |||
| 39 | 2 | public function getShieldStatusBarBig(): String |
|
| 49 | } |
||
| 50 | } |
||
| 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