diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 94b2f0b0..25f9b6c5 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,14 @@ - + + + + + + + + + + @@ -861,6 +870,15 @@ + + + + + + 'country-code', + ])]]> + diff --git a/src/Validator/PhoneNumber.php b/src/Validator/PhoneNumber.php index 473eed40..f5136ea4 100644 --- a/src/Validator/PhoneNumber.php +++ b/src/Validator/PhoneNumber.php @@ -19,6 +19,11 @@ use function strtoupper; use function substr; +/** + * @deprecated This class is deprecated and will be removed in v3.0.0 + * Use Laminas\I18n\PhoneNumber\Validator\PhoneNumber instead: + * https://github.com/laminas/laminas-i18n-phone-number + */ class PhoneNumber extends AbstractValidator { public const NO_MATCH = 'phoneNumberNoMatch';