| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class E164PhoneNumberValidator extends ConstraintValidator |
||
| 20 | { |
||
| 21 | const MAX_E164_LENGTH = 15; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Checks if the passed value is valid. |
||
| 25 | * |
||
| 26 | * @param mixed $value The value that should be validated |
||
| 27 | * @param Constraint $constraint The constraint for the validation |
||
| 28 | */ |
||
| 29 | 2 | public function validate($value, Constraint $constraint) |
|
| 42 |