| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | #[Override] |
||
| 25 | public function getModule(): iterable |
||
| 26 | { |
||
| 27 | if ($this->modules === null) { |
||
| 28 | $buildplan = $this->buildplan; |
||
| 29 | if ($buildplan === null) { |
||
| 30 | $this->modules = []; |
||
| 31 | } else { |
||
| 32 | $this->modules = $buildplan |
||
| 33 | ->getModulesByType($this->getModuleType()) |
||
| 34 | ->toArray(); |
||
| 35 | } |
||
| 36 | } |
||
| 37 | |||
| 38 | return $this->modules; |
||
| 39 | } |
||
| 54 |
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