Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 61.53% |
Changes | 0 |
1 | <?php |
||
13 | final class ModuleRumpWrapperImpulseDrive extends ModuleRumpWrapperBase implements ModuleRumpWrapperInterface |
||
14 | { |
||
15 | 3 | #[Override] |
|
16 | public function getValue(?ModuleInterface $module = null): int |
||
17 | { |
||
18 | 3 | $moduleValueCalculator = new ModuleValueCalculator(); |
|
19 | |||
20 | 3 | $module ??= current($this->getModule()); |
|
21 | 3 | if ($module === false) { |
|
22 | return 0; |
||
23 | } |
||
24 | |||
25 | 3 | return $moduleValueCalculator->calculateEvadeChance( |
|
26 | 3 | $this->rump, |
|
27 | 3 | $module |
|
28 | 3 | ); |
|
29 | } |
||
30 | |||
31 | #[Override] |
||
35 | } |
||
36 | |||
37 | #[Override] |
||
41 | } |
||
42 | } |
||
43 |
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