| Total Complexity | 10 |
| Total Lines | 82 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class StatusBar implements StatusBarInterface |
||
| 10 | { |
||
| 11 | private string $color = ''; |
||
| 12 | |||
| 13 | private string $label = ''; |
||
| 14 | |||
| 15 | private int $maxValue = 100; |
||
| 16 | |||
| 17 | private int $value = 0; |
||
| 18 | |||
| 19 | private float $sizeModifier = 1; |
||
| 20 | |||
| 21 | #[Override] |
||
| 22 | public function setColor(string $color): StatusBarInterface |
||
| 23 | { |
||
| 24 | $this->color = $color; |
||
| 25 | return $this; |
||
| 26 | } |
||
| 27 | |||
| 28 | #[Override] |
||
| 29 | public function setLabel(string $label): StatusBarInterface |
||
| 30 | { |
||
| 31 | $this->label = $label; |
||
| 32 | return $this; |
||
| 33 | } |
||
| 34 | |||
| 35 | #[Override] |
||
| 36 | public function setMaxValue(int $maxValue): StatusBarInterface |
||
| 37 | { |
||
| 38 | $this->maxValue = $maxValue; |
||
| 39 | return $this; |
||
| 40 | } |
||
| 41 | |||
| 42 | #[Override] |
||
| 43 | public function setValue(int $value): StatusBarInterface |
||
| 44 | { |
||
| 45 | $this->value = $value; |
||
| 46 | return $this; |
||
| 47 | } |
||
| 48 | |||
| 49 | #[Override] |
||
| 54 | } |
||
| 55 | |||
| 56 | #[Override] |
||
| 60 | } |
||
| 61 | |||
| 62 | #[Override] |
||
| 74 | } |
||
| 75 | |||
| 76 | private function getStatusBar(string $color, float $amount): string |
||
| 91 | ); |
||
| 92 | } |
||
| 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