We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class ArgumentsValidationException extends \Exception implements ClientAware |
||
12 | { |
||
13 | private $violations; |
||
14 | |||
15 | public function __construct(ConstraintViolationListInterface $violations, Throwable $previous = null) |
||
16 | { |
||
17 | $this->violations = $violations; |
||
18 | parent::__construct('validation', 0, $previous); |
||
19 | } |
||
20 | |||
21 | public function isClientSafe(): bool |
||
22 | { |
||
23 | return true; |
||
24 | } |
||
25 | |||
26 | public function getCategory(): string |
||
29 | } |
||
30 | |||
31 | public function getViolations(): ConstraintViolationListInterface |
||
34 | } |
||
35 | } |
||
36 |