Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class InvalidConfigurationException extends \UnexpectedValueException implements ConfigurationExceptionInterface |
||
17 | { |
||
18 | /** |
||
19 | * @param string $option Name/path of the option |
||
20 | * @param mixed $valueGiven The invalid option that was provided |
||
21 | * @param ?string $description Additional text describing the issue (optional) |
||
22 | */ |
||
23 | 9 | public static function forConfigOption(string $option, $valueGiven, ?string $description = null): self |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * @param mixed $value |
||
35 | * |
||
36 | * @psalm-pure |
||
37 | */ |
||
38 | 9 | private static function getDebugValue($value): string |
|
48 |