From 537622c978d0a906b18f70a2a21f52f222b78983 Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Wed, 11 Oct 2023 08:08:37 +0100 Subject: [PATCH] Upstream metadata changes from Google for v8.13.23 - Updated phone metadata for region code(s): BW, GE, NU, RE - Updated carrier data for country calling code(s): 30 (en), 229 (en), 262 (en) --- METADATA-VERSION.txt | 2 +- src/carrier/data/en/229.php | 8 ++-- src/carrier/data/en/262.php | 72 ++++++++++++++--------------- src/carrier/data/en/30.php | 1 + src/data/PhoneNumberMetadata_BW.php | 2 +- src/data/PhoneNumberMetadata_GE.php | 2 +- src/data/PhoneNumberMetadata_NU.php | 2 +- src/data/PhoneNumberMetadata_RE.php | 4 +- 8 files changed, 46 insertions(+), 47 deletions(-) diff --git a/METADATA-VERSION.txt b/METADATA-VERSION.txt index a9a1c81fa..4342528fd 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.22 +v8.13.23 diff --git a/src/carrier/data/en/229.php b/src/carrier/data/en/229.php index 898c01254..43b91c4cb 100644 --- a/src/carrier/data/en/229.php +++ b/src/carrier/data/en/229.php @@ -11,11 +11,11 @@ */ return array ( - 22940 => 'SBIN', - 22941 => 'SBIN', + 22940 => 'Celtiis', + 22941 => 'Celtiis', 22942 => 'MTN', - 22943 => 'SBIN', - 22945 => 'SBIN', + 22943 => 'Celtiis', + 22945 => 'Celtiis', 22946 => 'MTN', 2295 => 'MTN', 22955 => 'Moov', diff --git a/src/carrier/data/en/262.php b/src/carrier/data/en/262.php index 1d4f49434..7a830eefb 100644 --- a/src/carrier/data/en/262.php +++ b/src/carrier/data/en/262.php @@ -14,19 +14,19 @@ 26263900 => 'Orange', 26263901 => 'Orange', 26263902 => 'Orange', - 26263903 => 'Only', - 26263904 => 'Only', - 26263905 => 'Only', - 26263906 => 'Only', - 26263907 => 'Only', + 26263903 => 'Telco OI', + 26263904 => 'Telco OI', + 26263905 => 'Telco OI', + 26263906 => 'Telco OI', + 26263907 => 'Telco OI', 26263909 => 'SFR', 26263910 => 'SFR', 26263911 => 'SFR', - 26263919 => 'Only', + 26263919 => 'Telco OI', 2626392 => 'SFR', - 26263926 => 'Only', + 26263926 => 'Telco OI', 26263930 => 'BJT', - 26263939 => 'Only', + 26263939 => 'Telco OI', 2626394 => 'SFR', 26263950 => 'BJT', 26263955 => 'Orange', @@ -45,20 +45,20 @@ 26263968 => 'SFR', 26263969 => 'SFR', 26263970 => 'BJT', - 26263971 => 'Only', - 26263972 => 'Only', - 26263973 => 'Only', - 26263974 => 'Only', - 26263975 => 'Only', + 26263971 => 'Telco OI', + 26263972 => 'Telco OI', + 26263973 => 'Telco OI', + 26263974 => 'Telco OI', + 26263975 => 'Telco OI', 26263976 => 'Orange', 26263977 => 'Orange', 26263978 => 'Orange', 26263979 => 'Orange', 26263990 => 'BJT', - 26263994 => 'Only', - 26263995 => 'Only', - 26263996 => 'Only', - 26263997 => 'Only', + 26263994 => 'Telco OI', + 26263995 => 'Telco OI', + 26263996 => 'Telco OI', + 26263997 => 'Telco OI', 26263999 => 'Orange', 262692 => 'SFR', 2626920 => 'Orange', @@ -69,9 +69,9 @@ 26269242 => 'Orange', 26269243 => 'Orange', 26269244 => 'Orange', - 26269292 => 'Only', - 26269293 => 'Only', - 26269294 => 'Only', + 26269292 => 'Telco OI', + 26269293 => 'Telco OI', + 26269294 => 'Telco OI', 26269300 => 'Orange', 26269301 => 'SFR', 26269302 => 'SFR', @@ -85,33 +85,31 @@ 26269320 => 'SFR', 26269321 => 'Orange', 26269322 => 'Orange', - 26269330 => 'Only', - 26269331 => 'Only', - 26269332 => 'Only', + 26269330 => 'Telco OI', + 26269331 => 'Telco OI', + 26269332 => 'Telco OI', 26269333 => 'Orange', 26269339 => 'Orange', - 2626934 => 'Only', - 26269350 => 'Only', - 26269351 => 'Only', - 26269352 => 'Only', - 26269353 => 'Only', - 26269354 => 'Only', + 2626934 => 'Telco OI', + 26269350 => 'Telco OI', + 26269351 => 'Telco OI', + 26269352 => 'Telco OI', + 26269353 => 'Telco OI', + 26269354 => 'Telco OI', 26269355 => 'Orange', - 26269360 => 'Only', + 26269360 => 'Telco OI', 26269361 => 'ZEOP Mobile', 26269362 => 'ZEOP Mobile', 26269363 => 'ZEOP Mobile', 26269364 => 'ZEOP Mobile', 26269365 => 'ZEOP Mobile', 26269366 => 'Orange', - 26269370 => 'Only', - 26269371 => 'Only', - 26269372 => 'Only', + 26269370 => 'Telco OI', + 26269371 => 'Telco OI', + 26269372 => 'Telco OI', + 26269373 => 'Telco OI', 26269377 => 'Orange', - 26269380 => 'Only', - 26269381 => 'Only', - 26269382 => 'Only', - 26269383 => 'Only', + 2626938 => 'Telco OI', 26269388 => 'Orange', 26269390 => 'Orange', 26269391 => 'Orange', diff --git a/src/carrier/data/en/30.php b/src/carrier/data/en/30.php index 3352bd9b8..eae9f6311 100644 --- a/src/carrier/data/en/30.php +++ b/src/carrier/data/en/30.php @@ -22,6 +22,7 @@ 30687500 => 'BWS', 30688500 => 'BWS', 30689900 => 'OTEGlobe', + 30689901 => 'M-STAT', 306900 => 'BWS', 30690100 => 'MI Carrier Services', 30690199 => 'BWS', diff --git a/src/data/PhoneNumberMetadata_BW.php b/src/data/PhoneNumberMetadata_BW.php index 520847ac3..da9722777 100644 --- a/src/data/PhoneNumberMetadata_BW.php +++ b/src/data/PhoneNumberMetadata_BW.php @@ -39,7 +39,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '(?:321|7(?:[1-7]\\d|8[0-4]))\\d{5}', + 'NationalNumberPattern' => '(?:321|7[1-8]\\d)\\d{5}', 'ExampleNumber' => '71123456', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_GE.php b/src/data/PhoneNumberMetadata_GE.php index 43d2d1706..35ced050f 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(?:00(?:0\\d|11|22|33|44|5[05]|77|88|99)|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(?:[01]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:070|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(?:00(?:0\\d|11|22|33|44|5[05]|77|88|99)|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(?:070|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_NU.php b/src/data/PhoneNumberMetadata_NU.php index 8a4d62bca..f7e3daaac 100644 --- a/src/data/PhoneNumberMetadata_NU.php +++ b/src/data/PhoneNumberMetadata_NU.php @@ -38,7 +38,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '888[4-9]\\d{3}', + 'NationalNumberPattern' => '888[1-9]\\d{3}', 'ExampleNumber' => '8884012', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_RE.php b/src/data/PhoneNumberMetadata_RE.php index 69dbe6047..04af5a1e1 100644 --- a/src/data/PhoneNumberMetadata_RE.php +++ b/src/data/PhoneNumberMetadata_RE.php @@ -25,7 +25,7 @@ ), 'fixedLine' => array ( - 'NationalNumberPattern' => '26(?:2\\d\\d|3(?:0\\d|1[0-5]))\\d{4}', + 'NationalNumberPattern' => '26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}', 'ExampleNumber' => '262161234', 'PossibleLength' => array ( @@ -36,7 +36,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))\\d{4}', + 'NationalNumberPattern' => '69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}', 'ExampleNumber' => '692123456', 'PossibleLength' => array (