We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 5 |
| Paths | 6 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 11.1035 |
| Changes | 0 | ||
| 1 | <?php |
||
| 64 | 7 | if (!empty($exceptions)) { |
|
| 65 | 2 | throw $this->reportError($input)->setRelated($exceptions); |
|
|
|
|||
| 66 | } |
||
| 67 | 5 | } |
|
| 68 | |||
| 69 | /** |
||
| 70 | * {@inheritdoc} |
||
| 71 | */ |
||
| 72 | 11 | public function validate($input): bool |
|
| 73 | { |
||
| 74 | try { |
||
| 75 | 11 | $this->assert($input); |
|
| 76 | 6 | } catch (ValidationException $exception) { |
|
| 77 | 6 | return false; |
|
| 83 |