Conditions | 3 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
62 | #[Override] |
||
63 | public function render(): string |
||
64 | { |
||
65 | $pro = $this->maxValue === 0 ? 100 : max(0, @round((100 / $this->maxValue) * min($this->value, $this->maxValue))); |
||
66 | $bar = $this->getStatusBar( |
||
67 | $this->color, |
||
68 | ceil($pro / 2) |
||
69 | ); |
||
70 | if ($pro < 100) { |
||
71 | $bar .= $this->getStatusBar(StatusBarColorEnum::STATUSBAR_GREY, floor((100 - $pro) / 2)); |
||
72 | } |
||
73 | return $bar; |
||
74 | } |
||
94 |
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