Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.12.15
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s): GN, KE, MU, SG
 - Updated carrier data for country calling code(s):
   65 (en), 224 (en), 230 (en), 254 (en)
  • Loading branch information
giggsey committed Dec 15, 2020
1 parent c42a963 commit 57eb1f1
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 6 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.14
v8.12.15
1 change: 1 addition & 0 deletions src/carrier/data/en/224.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

return array (
22460 => 'Sotelgui',
22461 => 'Orange',
22462 => 'Orange',
22463 => 'Intercel',
22465 => 'Cellcom',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/230.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
230529 => 'MTML',
23054 => 'Emtel',
2305471 => 'Cellplus',
23055 => 'Emtel',
23057 => 'Cellplus',
230571 => 'Emtel',
230572 => 'Emtel',
Expand Down
4 changes: 3 additions & 1 deletion src/carrier/data/en/254.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
return array (
25410 => 'Airtel',
25411 => 'Safaricom',
25412 => 'Telkom',
254120 => 'Telkom',
254121 => 'Infura',
254124 => 'Finserve',
25470 => 'Safaricom',
25471 => 'Safaricom',
25472 => 'Safaricom',
Expand Down
4 changes: 4 additions & 0 deletions src/carrier/data/en/65.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
return array (
65801 => 'TPG',
658018 => 'SingTel',
658019 => 'SingTel',
65802 => 'SingTel',
65803 => 'SingTel',
6581 => 'StarHub',
Expand Down Expand Up @@ -324,6 +325,9 @@
658932 => 'TPG',
658933 => 'TPG',
658934 => 'TPG',
658935 => 'M1',
658936 => 'M1',
658937 => 'M1',
658938 => 'SingTel',
658939 => 'SingTel',
658940 => 'SingTel',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GN.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '6[02356]\\d{7}',
'NationalNumberPattern' => '6[0-356]\\d{7}',
'ExampleNumber' => '601123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_KE.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:1(?:0[0-6]|1[0-5]|20)|7\\d\\d)\\d{6}',
'NationalNumberPattern' => '(?:1(?:0[0-6]|1[0-5]|2[014])|7\\d\\d)\\d{6}',
'ExampleNumber' => '712123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MU.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|5(?:2[5-9]|4[3-589]|7\\d|8[0-689]|9[0-8])\\d{5}',
'NationalNumberPattern' => '5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|5(?:2[5-9]|4[3-589]|5[1-9]|7\\d|8[0-689]|9[0-8])\\d{5}',
'ExampleNumber' => '52512345',
'PossibleLength' =>
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(?:0(?:1[0-8]|2[7-9]|3[01])|[1-8]\\d\\d|9(?:[0-24]\\d|3[0-489]|5[0-2]))|9[0-8]\\d\\d)\\d{4}',
'NationalNumberPattern' => '(?:8(?:0(?:1\\d|2[7-9]|3[01])|[1-8]\\d\\d|9(?:[0-4]\\d|5[0-2]))|9[0-8]\\d\\d)\\d{4}',
'ExampleNumber' => '81234567',
'PossibleLength' =>
array (
Expand Down

0 comments on commit 57eb1f1

Please sign in to comment.