Skip to content

Improve Turkish phone numbers for E164 and landline support#460

Merged
pimjansen merged 2 commits intoFakerPHP:mainfrom
rebasesoftware:feature/turkish-phone-number-improvement
Mar 7, 2022
Merged

Improve Turkish phone numbers for E164 and landline support#460
pimjansen merged 2 commits intoFakerPHP:mainfrom
rebasesoftware:feature/turkish-phone-number-improvement

Conversation

@ugurerkan
Copy link
Copy Markdown

@ugurerkan ugurerkan commented Mar 6, 2022

What is the reason for this PR?

This PR provides e164 phone number support for tr_TR locale.
Also, improves exists phone number format to generate landline phone numbers.

Author's checklist

Summary of changes

The changes are made in tr_TR PhoneNumber provider to support e164 phone number generation and contains addition improvements for phone number generation with landline numbers.

Review checklist

  • All checks have passed
  • Changes are approved by maintainer

@pimjansen
Copy link
Copy Markdown

Missing tests and sources references

@pimjansen pimjansen added the invalid This doesn't seem right label Mar 6, 2022
@ugurerkan ugurerkan force-pushed the feature/turkish-phone-number-improvement branch from 0793ad4 to ecdd1e9 Compare March 6, 2022 17:46
@ugurerkan
Copy link
Copy Markdown
Author

@pimjansen Thank you for the review, I have added reference for phone numbers in Turkey and updated tr_TR phone number test case to test with e164 phone number.

@ugurerkan ugurerkan force-pushed the feature/turkish-phone-number-improvement branch from ecdd1e9 to e7fa955 Compare March 6, 2022 17:55
@ugurerkan ugurerkan changed the title Feature/turkish phone number improvement Turkish phone number improvement Mar 6, 2022
@ugurerkan ugurerkan changed the title Turkish phone number improvement Improve Turkish phone numbers for E164 and landline support Mar 6, 2022
@pimjansen
Copy link
Copy Markdown

LGTM

@pimjansen pimjansen merged commit c917dde into FakerPHP:main Mar 7, 2022
@ugurerkan ugurerkan deleted the feature/turkish-phone-number-improvement branch March 7, 2022 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants