| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class InvalidDataException extends RuntimeException implements ExceptionInterface |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var list<InvalidValueException> |
||
|
|
|||
| 27 | */ |
||
| 28 | private array $exceptions; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param list<InvalidValueException> $exceptions |
||
| 32 | */ |
||
| 33 | 249 | public function __construct(string $message, array $exceptions = []) |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return list<InvalidValueException> |
||
| 42 | */ |
||
| 43 | 246 | final public function getExceptions(): array |
|
| 44 | { |
||
| 45 | 246 | return $this->exceptions; |
|
| 46 | } |
||
| 47 | |||
| 48 | 1 | final public function getViolations(): ConstraintViolationListInterface |
|
| 56 | } |
||
| 57 | } |
||
| 58 |
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