zendframework / zend-i18n

I18n component from Zend Framework
BSD 3-Clause "New" or "Revised" License
65 stars 49 forks source link

Wrong pattern for french mobile phone #85

Closed rphilippe closed 5 years ago

rphilippe commented 7 years ago

Hello,

The pattern used for the french mobile phone is wrong: https://github.com/zendframework/zend-i18n/blob/f10380553a9ffd8a2f18e3ba67f70a7510fc58c9/src/Validator/PhoneNumber/FR.php#L16

Acccording to googlei18n/libphonenumber line 7926 it should be /(?:6\d|7[3-9])/.

Tried it and it's working fine. Any ETA on a fix?

froschdesign commented 5 years ago

@rphilippe Sorry for the very late response. I will try to update all patterns.

Thank you for reporting!