| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 76 | 1 | private function getStatusBar(string $color, float $amount): string |
|
| 77 | { |
||
| 78 | 1 | return sprintf( |
|
| 79 | 1 | '<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 | 1 | />', |
|
| 85 | 1 | $this->label, |
|
| 86 | 1 | $color, |
|
| 87 | 1 | (int) (round($amount) * $this->sizeModifier), |
|
| 88 | 1 | $this->label, |
|
| 89 | 1 | $this->value, |
|
| 90 | 1 | $this->maxValue |
|
| 91 | 1 | ); |
|
| 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