Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

German phone numbers invalid for libphonenumber #1876

Open
neeg opened this issue Dec 18, 2019 · 2 comments
Open

German phone numbers invalid for libphonenumber #1876

neeg opened this issue Dec 18, 2019 · 2 comments
Labels

Comments

@neeg
Copy link

neeg commented Dec 18, 2019

Summary

Faker generates german phone numbers like 00879 67680 that are not considered valid:
https://libphonenumber.appspot.com/phonenumberparser?number=00879%2067680&country=DE

Versions

Version
PHP 7.3.10
fzaninotto/faker 1.9.1

Self-enclosed code snippet for reproduction

$faker->phoneNumber()

Expected output

German phone numbers never start with 00.
Only 0[1-9]xxx are possible

Actual output

00879 67680

neeg pushed a commit to neeg/Faker that referenced this issue Dec 18, 2019
@pimjansen pimjansen added the bug label Jan 16, 2020
@pimjansen
Copy link
Contributor

@localheinz could you verify this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants