giggsey / libphonenumber-for-php

PHP version of Google's phone number handling library
https://giggsey.com/libphonenumber/
Apache License 2.0
4.76k stars 468 forks source link

Update Phone mask for mobile number Uganda #644

Closed cmplx closed 3 months ago

cmplx commented 3 months ago

This pull request introduces changes to our phone number validation logic. The current validation rules do not support phone numbers in the 74 XXXXXXXXX format, causing valid numbers to be incorrectly flagged as invalid.

The changes in this pull request ensure that phone numbers starting with ‘74’ and followed by seven additional digits are correctly validated. This update is crucial for our users who have been unable to register their valid phone numbers due to this oversight.

Please review the changes and let me know if there are any concerns or suggestions for improvement.

giggsey commented 3 months ago

Hi,

Please check the FAQ for checking with invalid numbers.

You'll need to check the number using Google's Demo, then report the issue to them if the number still shows as invalid.