| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | #[Override] |
||
| 27 | public function getSpecialSystemModules(): Collection |
||
| 28 | { |
||
| 29 | $buildplan = $this->buildplanRepository->find($this->buildplanId); |
||
| 30 | if ($buildplan === null) { |
||
| 31 | throw new RuntimeException(sprintf('buildplan with id %d not found', $this->buildplanId)); |
||
| 32 | } |
||
| 33 | |||
| 34 | return $buildplan->getModulesByType(SpacecraftModuleTypeEnum::SPECIAL); |
||
| 35 | } |
||
| 37 |
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