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 | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 9 | class ArgumentsValidationException extends \Exception implements ClientAware |
||
| 10 | { |
||
| 11 | private $violations; |
||
| 12 | |||
| 13 | public function __construct(ConstraintViolationListInterface $violations, Throwable $previous = null) |
||
| 14 | { |
||
| 15 | $this->violations = $violations; |
||
| 16 | parent::__construct('Invalid data set', 0, $previous); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function isClientSafe(): bool |
||
| 20 | { |
||
| 21 | return true; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getCategory(): string |
||
| 25 | { |
||
| 26 | return 'ArgumentsValidationException'; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getViolations(): ConstraintViolationListInterface |
||
| 32 | } |
||
| 33 | } |
||
| 34 |