Skip to content

Commit

Permalink
Merge pull request #533 from giggsey/upstream-8.12.56
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.12.56
  • Loading branch information
giggsey authored Sep 23, 2022
2 parents a4f21ba + ef84b42 commit 0f6481d
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 25 deletions.
2 changes: 1 addition & 1 deletion METADATA-VERSION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# It can be a commit, branch or tag of the https://github.com/google/libphonenumber project
#
# For more information, look at the phing tasks in build.xml
v8.12.55
v8.12.56
22 changes: 10 additions & 12 deletions src/carrier/data/en/31.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,24 @@
*/

return array (
31610 => 'KPN',
3161 => 'KPN',
31611 => 'Vodafone Libertel B.V.',
31612 => 'KPN',
31613 => 'KPN',
31614 => 'T-Mobile',
31615 => 'Vodafone Libertel B.V.',
31616 => 'Telfort',
31617 => 'Telfort',
31618 => 'T-Mobile Thuis',
31619 => 'KPN',
31620 => 'KPN',
31621 => 'Vodafone Libertel B.V.',
31622 => 'KPN',
31623 => 'KPN',
31624 => 'T-Mobile',
31625 => 'Vodafone Libertel B.V.',
31626 => 'Telfort',
31626 => 'KPN',
31627 => 'Vodafone Libertel B.V.',
31628 => 'T-Mobile Thuis',
31629 => 'Vodafone Libertel B.V.',
31630 => 'KPN',
31631 => 'Vodafone Libertel B.V.',
31633 => 'Telfort',
31633 => 'KPN',
31634 => 'T-Mobile',
316351 => 'Glotell B.V (V-Tell NL)',
316352 => 'Lancelot',
Expand All @@ -50,12 +45,12 @@
31641 => 'T-Mobile',
31642 => 'T-Mobile',
31643 => 'T-Mobile',
31644 => 'Telfort',
31644 => 'KPN',
31645 => 'Telfort',
31646 => 'Vodafone Libertel B.V.',
31647 => 'Telfort',
31647 => 'KPN',
31648 => 'T-Mobile Thuis',
31649 => 'Telfort',
31649 => 'KPN',
31650 => 'Vodafone Libertel B.V.',
31651 => 'KPN',
31652 => 'Vodafone Libertel B.V.',
Expand All @@ -64,8 +59,11 @@
31655 => 'Vodafone Libertel B.V.',
31656 => 'T-Mobile',
31657 => 'KPN',
31658 => 'Telfort',
31658 => 'Lebara',
316580 => 'Private Mobility Nederland',
316587 => 'KPN',
316588 => 'KPN',
316589 => 'KPN',
31659 => 'Vectone Mobile/Delight Mobile',
316599 => 'Motto',
31680 => 'Vodafone Libertel B.V.',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/385.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
38595 => 'Tele2',
385970 => 'Hrvatski Telekom',
3859751 => 'Telefocus',
3859757 => 'Mobile One',
38597596 => 'Altavox',
38597597 => 'INNOVAC',
385976 => 'Hrvatski Telekom',
Expand Down
26 changes: 24 additions & 2 deletions src/carrier/data/en/389.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,34 @@
*/

return array (
3897 => 'A1',
38970 => 'T-Mobile',
38971 => 'T-Mobile',
38972 => 'T-Mobile',
389731 => 'A1',
389732 => 'A1',
389733 => 'A1',
389734 => 'A1',
389735 => 'A1',
3897370 => 'T-Mobile',
3897371 => 'T-Mobile',
3897375 => 'A1',
3897377 => 'A1',
3897378 => 'A1',
389742 => 'T-Mobile',
3897421 => 'Mobik',
389746 => 'T-Mobile',
389747 => 'T-Mobile',
3897470 => 'T-Mobile',
3897471 => 'T-Mobile',
3897474 => 'T-Mobile',
3897475 => 'A1',
3897477 => 'A1',
38974774 => 'Telekabel',
3897478 => 'A1',
38975 => 'A1',
38976 => 'A1',
38977 => 'A1',
38978 => 'A1',
38979 => 'A1',
3897970 => 'T-Mobile',
3897971 => 'T-Mobile',
);
2 changes: 2 additions & 0 deletions src/carrier/data/en/65.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
658051 => 'M1',
658052 => 'M1',
658053 => 'Simba',
658056 => 'Simba',
658057 => 'Simba',
6581 => 'StarHub',
65810 => 'M1',
65812 => 'SingTel',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_HR.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '98\\d{6,7}|975(?:1\\d|9[67])\\d{4}|9(?:0[1-9]|[1259]\\d|7[0679])\\d{6}',
'NationalNumberPattern' => '98\\d{6,7}|975(?:1\\d|77|9[67])\\d{4}|9(?:0[1-9]|[1259]\\d|7[0679])\\d{6}',
'ExampleNumber' => '921234567',
'PossibleLength' =>
array (
Expand Down
6 changes: 3 additions & 3 deletions src/data/PhoneNumberMetadata_MK.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[23]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}',
'NationalNumberPattern' => '(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}',
'ExampleNumber' => '22012345',
'PossibleLength' =>
array (
Expand All @@ -40,7 +40,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '7(?:3555|4(?:60\\d|747)|94(?:[01]\\d|2[0-4]))\\d{3}|7(?:[0-25-8]\\d|3[1-4]|42|9[23])\\d{5}',
'NationalNumberPattern' => '7(?:3555|4747|9(?:[019]77|42[0-4]))\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-4]\\d|7[01578])|4(?:2\\d|60|7[01578])|9(?:[23]\\d|4[01]|7[015]))\\d{4}',
'ExampleNumber' => '72345678',
'PossibleLength' =>
array (
Expand All @@ -62,7 +62,7 @@
),
'premiumRate' =>
array (
'NationalNumberPattern' => '5[02-9]\\d{6}',
'NationalNumberPattern' => '5\\d{7}',
'ExampleNumber' => '50012345',
'PossibleLength' =>
array (
Expand Down
3 changes: 2 additions & 1 deletion src/data/PhoneNumberMetadata_PT.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@
),
'pager' =>
array (
'NationalNumberPattern' => '6222\\d{5}',
'ExampleNumber' => '622212345',
'PossibleLength' =>
array (
0 => -1,
),
'PossibleLengthLocalOnly' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_SG.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '8(?:05[0-3]|95[0-2])\\d{4}|(?:8(?:0[1-4]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}',
'NationalNumberPattern' => '8(?:05[0-367]|95[0-2])\\d{4}|(?:8(?:0[1-4]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}',
'ExampleNumber' => '81234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_TT.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '868(?:2(?:0[13]|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}',
'NationalNumberPattern' => '868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}',
'ExampleNumber' => '8682211234',
'PossibleLength' =>
array (
Expand Down
6 changes: 3 additions & 3 deletions src/data/ShortNumberMetadata_BZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
),
'tollFree' =>
array (
'NationalNumberPattern' => '9(?:0|11)',
'NationalNumberPattern' => '9(?:0|11|22|66|77|9[09])',
'ExampleNumber' => '90',
'PossibleLength' =>
array (
Expand All @@ -47,7 +47,7 @@
),
'emergency' =>
array (
'NationalNumberPattern' => '9(?:0|11)',
'NationalNumberPattern' => '9(?:0|11|90)',
'ExampleNumber' => '90',
'PossibleLength' =>
array (
Expand All @@ -58,7 +58,7 @@
),
'shortCode' =>
array (
'NationalNumberPattern' => '9(?:0|11)',
'NationalNumberPattern' => '9(?:0|11|22|66|77|9[09])',
'ExampleNumber' => '90',
'PossibleLength' =>
array (
Expand Down

0 comments on commit 0f6481d

Please sign in to comment.