Total Complexity | 5 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 64.29% |
Changes | 0 |
1 | <?php |
||
10 | class DomainNameValidator extends ConstraintValidator |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * Checks if the passed value is valid. |
||
15 | * |
||
16 | * @param string $domainName |
||
17 | * @param Constraint $constraint The constraint for the validation |
||
18 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
19 | */ |
||
20 | 10 | public function validate($domainName, Constraint $constraint): void |
|
37 |