Using this bundle (version 3.6.2) with the latest Symfony version (currently 6.1.1), I get the following deprecation warning:
User Deprecated: The "Symfony\Component\Validator\Constraint::$errorNames" property is considered final. You should not override it in "Misd\PhoneNumberBundle\Validator\Constraints\PhoneNumber".
You should use the protected constant ERROR_NAMES instead.
Using this bundle (version 3.6.2) with the latest Symfony version (currently 6.1.1), I get the following deprecation warning:
You should use the protected constant
ERROR_NAMES
instead.