| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 76 | private function getStatusBar(string $color, float $amount): string |
||
| 77 | { |
||
| 78 | return sprintf( |
||
| 79 | '<img |
||
| 80 | alt="%s" |
||
| 81 | src="/assets/bars/balken.png" |
||
| 82 | style="background-color: #%s;height: 12px; width:%dpx;" |
||
| 83 | title="%s: %d/%d" |
||
| 84 | />', |
||
| 85 | $this->label, |
||
| 86 | $color, |
||
| 87 | (int) (round($amount) * $this->sizeModifier), |
||
| 88 | $this->label, |
||
| 89 | $this->value, |
||
| 90 | $this->maxValue |
||
| 91 | ); |
||
| 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