| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | final class KeyValueBag |
||
| 9 | { |
||
| 10 | private array $bag = []; |
||
| 11 | |||
| 12 | 45 | public function set(string $key, array $value): void |
|
| 13 | { |
||
| 14 | 45 | $this->bag[$key] = $value; |
|
| 15 | 45 | } |
|
| 16 | |||
| 17 | 76 | public function get(string $key): array | null |
|
| 20 | } |
||
| 21 | |||
| 22 | 75 | public function has(string $key): bool |
|
| 23 | { |
||
| 24 | 75 | return null !== $this->get($key); |
|
| 25 | } |
||
| 26 | |||
| 27 | 2 | public function hasEntries(): bool |
|
| 30 | } |
||
| 31 | |||
| 32 | 10 | public function reset(): void |
|
| 35 | 10 | } |
|
| 36 | } |
||
| 37 |
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