| Conditions | 3 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | #[Override] |
||
| 23 | public function handleSpacecraftTick( |
||
| 24 | SpacecraftWrapperInterface $wrapper, |
||
| 25 | InformationInterface $information |
||
| 26 | ): void { |
||
| 27 | |||
| 28 | $spacecraft = $wrapper->get(); |
||
| 29 | |||
| 30 | // leave spacecraft |
||
| 31 | if ( |
||
| 32 | $this->crewAssignmentRepository->getAmountBySpacecraft($spacecraft) |
||
| 33 | && !$this->spacecraftSystemRepository->isSystemHealthy($spacecraft, SpacecraftSystemTypeEnum::LIFE_SUPPORT) |
||
| 34 | ) { |
||
| 35 | $information->addInformation('Die Lebenserhaltung ist ausgefallen:'); |
||
| 36 | $information->addInformation($this->spacecraftLeaver->evacuate($wrapper)); |
||
| 37 | |||
| 38 | throw new SpacecraftTickFinishedException(); |
||
| 39 | } |
||
| 42 |
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