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