From 5ce34f70b843e323a6f7312c914704efb5dcf99b Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Fri, 19 Apr 2024 13:38:18 +0100 Subject: [PATCH] Upstream metadata changes from Google for v8.13.35 - Updated phone metadata for region code(s): CD, GE, GY, LA, PT, RO, SG, TD - Updated geocoding data for country calling code(s): 49 (en) - Updated carrier data for country calling code(s): 40 (en), 65 (en), 235 (en), 243 (en), 244 (en), 351 (en), 592 (en), 856 (en), 995 (en) --- METADATA-VERSION.txt | 2 +- src/carrier/data/en/235.php | 7 +------ src/carrier/data/en/243.php | 1 + src/carrier/data/en/244.php | 2 +- src/carrier/data/en/351.php | 5 +++++ src/carrier/data/en/40.php | 1 + src/carrier/data/en/592.php | 5 ++++- src/carrier/data/en/65.php | 1 + src/carrier/data/en/856.php | 1 + src/carrier/data/en/995.php | 1 + src/data/PhoneNumberMetadata_CD.php | 2 +- src/data/PhoneNumberMetadata_GE.php | 2 +- src/data/PhoneNumberMetadata_GY.php | 2 +- src/data/PhoneNumberMetadata_LA.php | 7 ++++--- src/data/PhoneNumberMetadata_PT.php | 4 ++-- src/data/PhoneNumberMetadata_RO.php | 2 +- src/data/PhoneNumberMetadata_SG.php | 2 +- src/data/PhoneNumberMetadata_TD.php | 2 +- src/geocoding/data/en/49.php | 2 +- 19 files changed, 30 insertions(+), 21 deletions(-) diff --git a/METADATA-VERSION.txt b/METADATA-VERSION.txt index f19852f27..d71a38001 100644 --- a/METADATA-VERSION.txt +++ b/METADATA-VERSION.txt @@ -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.13.34 +v8.13.35 diff --git a/src/carrier/data/en/235.php b/src/carrier/data/en/235.php index 6e24bb5a2..d4d48ed29 100644 --- a/src/carrier/data/en/235.php +++ b/src/carrier/data/en/235.php @@ -11,12 +11,7 @@ */ return array ( - 23560 => 'Airtel', - 23562 => 'Airtel', - 23563 => 'Airtel', - 23565 => 'Airtel', - 23566 => 'Airtel', - 23568 => 'Airtel', + 2356 => 'Airtel', 2357 => 'Sotel', 2359 => 'Tigo', ); diff --git a/src/carrier/data/en/243.php b/src/carrier/data/en/243.php index cd5f7b4d7..c3efd3638 100644 --- a/src/carrier/data/en/243.php +++ b/src/carrier/data/en/243.php @@ -17,6 +17,7 @@ 24383 => 'Vodacom', 24384 => 'Orange', 24385 => 'Orange', + 24386 => 'Vodacom', 24388 => 'Yozma Timeturns sprl -YTT', 24389 => 'Orange', 24390 => 'Africell', diff --git a/src/carrier/data/en/244.php b/src/carrier/data/en/244.php index e729f2361..9c15adcc3 100644 --- a/src/carrier/data/en/244.php +++ b/src/carrier/data/en/244.php @@ -15,6 +15,6 @@ 24492 => 'UNITEL', 24493 => 'UNITEL', 24494 => 'UNITEL', - 24495 => 'Africell Angola', + 24495 => 'Africell', 24499 => 'Movicel', ); diff --git a/src/carrier/data/en/351.php b/src/carrier/data/en/351.php index dfe88c978..0b71e6ba5 100644 --- a/src/carrier/data/en/351.php +++ b/src/carrier/data/en/351.php @@ -15,14 +15,18 @@ 351609230 => 'NOS', 35160929 => 'NOS', 3516093 => 'NOS', + 35163920 => 'Lycamobile', 351639230 => 'NOS', 351639233 => 'Digi Communications', 351639234 => 'G9 Telecom', + 35163924 => 'MEO', 35163929 => 'NOS', 3516393 => 'NOS', + 35165920 => 'Lycamobile', 351659230 => 'NOS', 351659233 => 'Digi Communications', 351659234 => 'G9 Telecom', + 35165924 => 'MEO', 35165929 => 'NOS', 3516593 => 'NOS', 351669230 => 'NOS', @@ -35,6 +39,7 @@ 3519203 => 'Lycamobile', 3519204 => 'Lycamobile', 3519205 => 'Lycamobile', + 3519208 => 'Lycamobile', 351921 => 'Vodafone', 3519220 => 'Vodafone', 3519221 => 'MEO', diff --git a/src/carrier/data/en/40.php b/src/carrier/data/en/40.php index 9c1d105ac..9da4564f6 100644 --- a/src/carrier/data/en/40.php +++ b/src/carrier/data/en/40.php @@ -11,6 +11,7 @@ */ return array ( + 4060 => 'Telekom', 4062 => 'Vodafone', 4064 => 'Orange', 407000 => 'Enigma-System', diff --git a/src/carrier/data/en/592.php b/src/carrier/data/en/592.php index 343fdb3f9..786d4b05c 100644 --- a/src/carrier/data/en/592.php +++ b/src/carrier/data/en/592.php @@ -49,7 +49,10 @@ 592708 => 'GTT', 592709 => 'GTT', 59271 => 'E-Networks', - 59272 => 'GTT', + 592721 => 'GTT', + 592722 => 'Digicel Guyana', + 592725 => 'GTT', + 592726 => 'GTT', 59273 => 'E-Networks', 59274 => 'GTT', ); diff --git a/src/carrier/data/en/65.php b/src/carrier/data/en/65.php index fa86482ac..a3a7e032c 100644 --- a/src/carrier/data/en/65.php +++ b/src/carrier/data/en/65.php @@ -56,6 +56,7 @@ 658090 => 'SingTel', 658091 => 'M1', 658092 => 'Simba', + 658094 => 'M1', 6581 => 'StarHub', 65810 => 'M1', 65812 => 'SingTel', diff --git a/src/carrier/data/en/856.php b/src/carrier/data/en/856.php index 8a27036cd..9c6083380 100644 --- a/src/carrier/data/en/856.php +++ b/src/carrier/data/en/856.php @@ -18,4 +18,5 @@ 856208 => 'Best Telecom', 856209 => 'Unitel', 856302 => 'ETL', + 856304 => 'Unitel', ); diff --git a/src/carrier/data/en/995.php b/src/carrier/data/en/995.php index 7ef3e0a77..fc5cdad44 100644 --- a/src/carrier/data/en/995.php +++ b/src/carrier/data/en/995.php @@ -39,6 +39,7 @@ 9955055 => 'MagtiCom', 995510 => 'Silknet', 99551100 => 'MagtiCom', + 99551101 => 'Silknet', 99551107 => 'Silknet', 9955111 => 'MagtiCom', 9955112 => 'MagtiCom', diff --git a/src/data/PhoneNumberMetadata_CD.php b/src/data/PhoneNumberMetadata_CD.php index abc99a8c8..38c175881 100644 --- a/src/data/PhoneNumberMetadata_CD.php +++ b/src/data/PhoneNumberMetadata_CD.php @@ -37,7 +37,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '88\\d{5}|(?:8[0-59]|9[017-9])\\d{7}', + 'NationalNumberPattern' => '88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}', 'ExampleNumber' => '991234567', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_GE.php b/src/data/PhoneNumberMetadata_GE.php index c74e7ac23..08110985f 100644 --- a/src/data/PhoneNumberMetadata_GE.php +++ b/src/data/PhoneNumberMetadata_GE.php @@ -40,7 +40,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:0(?:0(?:0\\d|11|22|33|44|5[05]|77|88|9[09])|111)|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}', + 'NationalNumberPattern' => '5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:0(?:0(?:0\\d|11|22|33|44|5[05]|77|88|9[09])|111)|1(?:1(?:[03][01]|[124]\\d)|4\\d\\d)|(?:44|6[89])\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}', 'ExampleNumber' => '555123456', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_GY.php b/src/data/PhoneNumberMetadata_GY.php index 5fc133ba1..708d5fa8c 100644 --- a/src/data/PhoneNumberMetadata_GY.php +++ b/src/data/PhoneNumberMetadata_GY.php @@ -36,7 +36,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '(?:510|6\\d\\d|7(?:[01]\\d|2[156]|3[12]|49))\\d{4}', + 'NationalNumberPattern' => '(?:510|6\\d\\d|7(?:[01]\\d|2[1256]|3[12]|49))\\d{4}', 'ExampleNumber' => '6091234', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_LA.php b/src/data/PhoneNumberMetadata_LA.php index 8738770f8..116f4cd0c 100644 --- a/src/data/PhoneNumberMetadata_LA.php +++ b/src/data/PhoneNumberMetadata_LA.php @@ -41,11 +41,12 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '2088\\d{6}|(?:20[23579]|302)\\d{7}', + 'NationalNumberPattern' => '(?:20(?:[23579]\\d|88)|30(?:2\\d|4))\\d{6}', 'ExampleNumber' => '2023123456', 'PossibleLength' => array ( - 0 => 10, + 0 => 9, + 1 => 10, ), 'PossibleLengthLocalOnly' => array ( @@ -113,7 +114,7 @@ ), 'uan' => array ( - 'NationalNumberPattern' => '30[013-9]\\d{6}', + 'NationalNumberPattern' => '30[0135-9]\\d{6}', 'ExampleNumber' => '301234567', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_PT.php b/src/data/PhoneNumberMetadata_PT.php index 13958cc59..13c651fff 100644 --- a/src/data/PhoneNumberMetadata_PT.php +++ b/src/data/PhoneNumberMetadata_PT.php @@ -36,7 +36,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '6(?:[06]92(?:30|9\\d)|[35]92(?:3[034]|9\\d))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}', + 'NationalNumberPattern' => '6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}', 'ExampleNumber' => '912345678', 'PossibleLength' => array ( @@ -124,7 +124,7 @@ ), 'voicemail' => array ( - 'NationalNumberPattern' => '600\\d{6}|6[06]923[34]\\d{3}', + 'NationalNumberPattern' => '600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}', 'ExampleNumber' => '600110000', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_RO.php b/src/data/PhoneNumberMetadata_RO.php index e25af3545..f39554d3a 100644 --- a/src/data/PhoneNumberMetadata_RO.php +++ b/src/data/PhoneNumberMetadata_RO.php @@ -37,7 +37,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '7020\\d{5}|(?:6(?:2\\d|40)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}', + 'NationalNumberPattern' => '7020\\d{5}|(?:6(?:[04]0|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}', 'ExampleNumber' => '712034567', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_SG.php b/src/data/PhoneNumberMetadata_SG.php index c53d52a20..0d41fbdde 100644 --- a/src/data/PhoneNumberMetadata_SG.php +++ b/src/data/PhoneNumberMetadata_SG.php @@ -39,7 +39,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '8(?:09|95)[0-2]\\d{4}|(?:8(?:0[1-8]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}', + 'NationalNumberPattern' => '8(?:09[0-24]|95[0-2])\\d{4}|(?:8(?:0[1-8]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}', 'ExampleNumber' => '81234567', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_TD.php b/src/data/PhoneNumberMetadata_TD.php index 6534ed947..8f7b0c3c3 100644 --- a/src/data/PhoneNumberMetadata_TD.php +++ b/src/data/PhoneNumberMetadata_TD.php @@ -36,7 +36,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '(?:6[0235689]|77|9\\d)\\d{6}', + 'NationalNumberPattern' => '(?:6[0-689]|77|9\\d)\\d{6}', 'ExampleNumber' => '63012345', 'PossibleLength' => array ( diff --git a/src/geocoding/data/en/49.php b/src/geocoding/data/en/49.php index 109d3dc61..431e4f8ea 100644 --- a/src/geocoding/data/en/49.php +++ b/src/geocoding/data/en/49.php @@ -328,7 +328,7 @@ 492623 => 'Ransbach-Baumbach', 492624 => 'Höhr-Grenzhausen', 492625 => 'Ochtendung', - 492626 => 'Selters Westferwald', + 492626 => 'Selters Westerwald', 492627 => 'Braubach', 492628 => 'Rhens', 492630 => 'Mülheim-Kärlich',