Skip to content

Commit

Permalink
Merge pull request #548 from giggsey/upstream-v8.13.2
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.2
  • Loading branch information
giggsey committed Dec 8, 2022
2 parents 58285ea + 2d8b1d4 commit 362e049
Show file tree
Hide file tree
Showing 42 changed files with 144 additions and 62 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.13.1
v8.13.2
9 changes: 8 additions & 1 deletion src/carrier/data/en/1.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
144159 => 'Digicel Bermuda',
14417 => 'Cellular One',
14418 => 'Cellular One',
14419 => 'Deltronics',
1473402 => 'Affordable Island Communications',
147341 => 'Digicel Grenada',
147342 => 'Digicel Grenada',
Expand Down Expand Up @@ -163,7 +164,13 @@
166434 => 'Cable & Wireless',
166439 => 'Digicel',
1670284 => 'PTI PACIFICA',
167148 => 'GTA',
1671480 => 'GTA',
1671482 => 'GTA',
1671483 => 'GTA',
1671486 => 'GTA',
1671487 => 'GTA',
1671488 => 'GTA',
1671489 => 'GTA',
167174 => 'PTI PACIFICA',
167183 => 'i CAN_GSM',
167184 => 'i CAN_GSM',
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 @@ -48,4 +48,5 @@
230596 => 'MTML',
230597 => 'Emtel',
230598 => 'Emtel',
2307 => 'Emtel',
);
10 changes: 5 additions & 5 deletions src/carrier/data/en/233.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@

return array (
23320 => 'Vodafone',
23323 => 'Globacom (Zain)',
23323 => 'airteltiGO',
23324 => 'MTN',
23325 => 'MTN',
23326 => 'Airtel',
23327 => 'tiGO',
23326 => 'airteltiGO',
23327 => 'airteltiGO',
23328 => 'Expresso',
23329 => 'National Security',
23350 => 'Vodafone',
23354 => 'MTN',
23355 => 'MTN',
23356 => 'Airtel',
23357 => 'tiGO',
23356 => 'airteltiGO',
23357 => 'airteltiGO',
23359 => 'MTN',
);
3 changes: 2 additions & 1 deletion src/carrier/data/en/234.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
234706 => 'MTN',
234708 => 'Airtel',
234709 => 'Multilinks',
234801 => 'Megatech',
234801 => 'MAFAB',
234802 => 'Airtel',
234803 => 'MTN',
234804 => 'Ntel',
Expand Down Expand Up @@ -55,6 +55,7 @@
234907 => 'Airtel',
234908 => '9mobile',
234909 => '9mobile',
234911 => 'Airtel',
234912 => 'Airtel',
234913 => 'MTN',
234915 => 'Glo',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/252.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
25239 => 'AirSom',
25248 => 'AirSom',
25249 => 'AirSom',
252604 => 'Golis Telecom',
252605 => 'Golis Telecom',
252606 => 'Golis Telecom',
252607 => 'Golis Telecom',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/260.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
26095 => 'ZAMTEL',
26096 => 'MTN',
26097 => 'Airtel',
26098 => 'Beeline Telecoms',
);
1 change: 0 additions & 1 deletion src/carrier/data/en/27.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@
2772 => 'Vodacom',
2773 => 'MTN',
2774 => 'Cell C',
27741 => 'Virgin Mobile',
2776 => 'Vodacom',
2778 => 'MTN',
2779 => 'Vodacom',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/33.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@
3375774 => 'SFR',
3375777 => 'Euroinformation Telecom',
3375779 => 'Halys',
3375786 => 'Orange France',
3375787 => 'Euroinformation Telecom',
3375788 => 'BJT',
3375789 => 'BJT',
Expand Down
65 changes: 49 additions & 16 deletions src/carrier/data/en/370.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

return array (
37060 => 'Tele 2',
37061 => 'Omnitel',
37062 => 'Omnitel',
37061 => 'Telia',
37062 => 'Telia',
37063 => 'BITĖ',
37064 => 'BITĖ',
370645 => 'Tele 2',
Expand All @@ -24,7 +24,8 @@
370660 => 'BITĖ',
370661 => 'BITĖ',
3706610 => 'Tele 2',
370662 => 'Omnitel',
370662 => 'Telia',
3706630 => 'Telia',
37066313 => 'BITĖ',
37066314 => 'BITĖ',
37066315 => 'BITĖ',
Expand All @@ -34,9 +35,20 @@
37066319 => 'BITĖ',
37066320 => 'BITĖ',
37066323 => 'BITĖ',
37066522 => 'BITĖ',
3706650 => 'Telia',
3706651 => 'Telia',
37066522 => 'Telia',
37066523 => 'Telia',
37066524 => 'Telia',
37066525 => 'Telia',
37066526 => 'Telia',
37066527 => 'Telia',
37066528 => 'Telia',
37066529 => 'Telia',
3706653 => 'Telia',
3706660 => 'BITĖ',
3706661 => 'BITĖ',
37066621 => 'Telia',
37066622 => 'BITĖ',
37066623 => 'BITĖ',
37066624 => 'BITĖ',
Expand All @@ -45,6 +57,8 @@
37066627 => 'BITĖ',
37066628 => 'BITĖ',
37066629 => 'BITĖ',
3706663 => 'Telia',
3706664 => 'Telia',
3706665 => 'BITĖ',
3706666 => 'Tele 2',
3706667 => 'BITĖ',
Expand Down Expand Up @@ -72,27 +86,46 @@
37066865 => 'Tele 2',
37066876 => 'BITĖ',
37066877 => 'BITĖ',
370669 => 'Omnitel',
370669 => 'Telia',
37067 => 'Tele 2',
370680 => 'Omnitel',
370680 => 'Telia',
370681 => 'BITĖ',
370682 => 'Omnitel',
370682 => 'Telia',
370683 => 'Tele 2',
370684 => 'Tele 2',
370685 => 'BITĖ',
370686 => 'Omnitel',
370687 => 'Omnitel',
370688 => 'Omnitel',
370686 => 'Telia',
370687 => 'Telia',
370688 => 'Telia',
370689 => 'BITĖ',
370690 => 'BITĖ',
370691 => 'BITĖ',
370692 => 'Omnitel',
370693 => 'Omnitel',
370694 => 'Omnitel',
370695 => 'Omnitel',
370696 => 'Omnitel',
370692 => 'Telia',
370693 => 'Telia',
370694 => 'Telia',
370695 => 'Telia',
370696 => 'Telia',
3706970 => 'Telia',
3706971 => 'Telia',
3706972 => 'Telia',
3706973 => 'Telia',
37069740 => 'Telia',
37069741 => 'Telia',
37069742 => 'BITĖ',
37069743 => 'BITĖ',
370698 => 'Omnitel',
37069744 => 'Telia',
37069747 => 'Telia',
37069748 => 'Telia',
37069749 => 'Telia',
3706975 => 'Telia',
37069760 => 'Telia',
37069761 => 'Telia',
37069762 => 'Telia',
37069763 => 'Telia',
37069764 => 'Telia',
37069765 => 'Telia',
3706977 => 'Telia',
3706979 => 'Telia',
370698 => 'Telia',
370699 => 'BITĖ',
);
2 changes: 2 additions & 0 deletions src/carrier/data/en/592.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@
59269 => 'Digicel Guyana',
592700 => 'Digicel Guyana',
592701 => 'Digicel Guyana',
592702 => 'Digicel Guyana',
592703 => 'Digicel Guyana',
);
7 changes: 6 additions & 1 deletion src/carrier/data/en/61.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@
614808 => 'Pivotel Satellite',
61481 => 'Optus',
61482 => 'Optus',
61483 => 'Telstra',
614830 => 'Telstra',
614831 => 'Telstra',
614832 => 'Telstra',
614833 => 'Telstra',
614838 => 'Telstra',
614839 => 'Optus',
61484 => 'Telstra',
61485 => 'TravelSIM',
614858 => 'Pivotel Satellite',
Expand Down
2 changes: 2 additions & 0 deletions src/carrier/data/en/65.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
658055 => 'Geenet',
658056 => 'Simba',
658057 => 'Simba',
658058 => 'Simba',
65806 => 'Simba',
6581 => 'StarHub',
65810 => 'M1',
65812 => 'SingTel',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/882.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
882347 => 'BebbiCell AG',
88237 => 'AT&T Cingular Wireless Network',
8824 => 'Monaco Telecom',
8825 => 'Phonegroup',
);
3 changes: 3 additions & 0 deletions src/carrier/data/en/992.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,17 @@
99270 => 'Tcell',
99271 => 'Babilon-M',
99277 => 'Tcell',
99278 => 'Megafon',
99280 => 'Tacom',
99287 => 'Megafon',
99288 => 'Megafon',
99290 => 'Megafon',
99291 => 'Tacom',
992918 => 'Babilon-M',
99292 => 'Tcell',
99293 => 'Tcell',
99294 => 'Babilon-M',
99297 => 'Megafon',
99298 => 'Babilon-M',
99299 => 'Tcell',
);
6 changes: 3 additions & 3 deletions src/data/PhoneNumberMetadata_882.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}',
'NationalNumberPattern' => '[13]\\d{6}(?:\\d{2,5})?|(?:285|50\\d)\\d{9}|(?:[19]\\d|49)\\d{6}',
'PossibleLength' =>
array (
0 => 7,
Expand All @@ -40,7 +40,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\d{3})\\d{7}',
'NationalNumberPattern' => '342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}',
'ExampleNumber' => '3421234',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -243,7 +243,7 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '[1-3]',
0 => '[1-35]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_AS.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '684(?:2(?:48|5[2468]|72)|7(?:3[13]|70|82))\\d{4}',
'NationalNumberPattern' => '684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}',
'ExampleNumber' => '6847331234',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_AU.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}',
'NationalNumberPattern' => '4(?:83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}',
'ExampleNumber' => '412345678',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BI.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:29|6[1257-9]|7[125-9])\\d{6}',
'NationalNumberPattern' => '(?:29|[67][125-9])\\d{6}',
'ExampleNumber' => '79561234',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_BM.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '441(?:[2378]\\d|5[0-39])\\d{5}',
'NationalNumberPattern' => '441(?:[2378]\\d|5[0-39]|92)\\d{5}',
'ExampleNumber' => '4413701234',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -145,7 +145,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([2-8]\\d{6})$',
'nationalPrefixForParsing' => '1|([2-9]\\d{6})$',
'nationalPrefixTransformRule' => '441$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BS.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-4]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}',
'NationalNumberPattern' => '242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}',
'ExampleNumber' => '2423456789',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_CA.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|13|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}',
'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}',
'ExampleNumber' => '5062345678',
'PossibleLength' =>
array (
Expand All @@ -39,7 +39,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|13|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}',
'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}',
'ExampleNumber' => '5062345678',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_CC.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}',
'NationalNumberPattern' => '4(?:83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}',
'ExampleNumber' => '412345678',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_CX.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}',
'NationalNumberPattern' => '4(?:83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}',
'ExampleNumber' => '412345678',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_ET.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[78]|2[69]|39|4[5-7]|5[1-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}',
'NationalNumberPattern' => '11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[1-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}',
'ExampleNumber' => '111112345',
'PossibleLength' =>
array (
Expand Down
Loading

0 comments on commit 362e049

Please sign in to comment.