Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix en_SG phone number generator #100

Merged
merged 1 commit into from
Dec 2, 2020

Conversation

IonBazan
Copy link

@IonBazan IonBazan commented Dec 2, 2020

What is the reason for this PR?

This PR fixes an issue where some Singapore phone numbers were not passed to numerify method causing to always return 800 ### #### instead of 800 301 8665 etc.

Author's checklist

Summary of changes

This issue was discovered while adding the documentation page for en_SG (FakerPHP/fakerphp.github.io#19) and adding tests to the provider. This PR bumps the provider coverage to 100%.

Review checklist

  • All checks have passed
  • Changes are approved by maintainer

Copy link
Member

@bram-pkg bram-pkg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

@bram-pkg bram-pkg merged commit 56d115a into FakerPHP:main Dec 2, 2020
@IonBazan IonBazan deleted the bugfix/en-sg-phones branch December 2, 2020 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants