Closed zavarock closed 1 year ago
If using validation by @Attribute, when it fails, the default message when there is more than one type is:
https://github.com/odolbeau/phone-number-bundle/blob/40e330c21d24903fac53aca5acb4b2ebce7a38a3/src/Validator/Constraints/PhoneNumber.php#L115
Which does not have a translated message. As I see, the default message should be "This value is not a valid phone number.".
Yes it's nice thank you
The CI failed (https://github.com/odolbeau/phone-number-bundle/actions/runs/3603679058/jobs/6072168474). Can you also adapt the tests so that it comes back
@maxhelias fixed in #134
If using validation by @Attribute, when it fails, the default message when there is more than one type is:
https://github.com/odolbeau/phone-number-bundle/blob/40e330c21d24903fac53aca5acb4b2ebce7a38a3/src/Validator/Constraints/PhoneNumber.php#L115
Which does not have a translated message. As I see, the default message should be "This value is not a valid phone number.".