Conditions | 3 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
36 | #[Override] |
||
37 | public function apply(SpacecraftWrapperInterface $wrapper): void |
||
38 | { |
||
39 | $actualHull = $wrapper->get()->getHull(); |
||
40 | $value = $this->getValue(); |
||
41 | if ( |
||
42 | $actualHull === 0 |
||
43 | || $actualHull > $value |
||
44 | ) { |
||
45 | $wrapper->get()->setHuell($value); |
||
46 | } |
||
47 | |||
48 | $wrapper->get()->setMaxHuell($value); |
||
49 | } |
||
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