Skip to content

Commit

Permalink
Merge pull request #597 from giggsey/upstream-8.13.22
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.22
  • Loading branch information
giggsey authored Sep 29, 2023
2 parents f21468b + f988d78 commit fc69cbc
Show file tree
Hide file tree
Showing 23 changed files with 71 additions and 47 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.21
v8.13.22
7 changes: 6 additions & 1 deletion src/carrier/data/en/237.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@
237659 => 'Orange',
23766 => 'NEXTTEL',
23767 => 'MTN Cameroon',
23768 => 'NEXTTEL',
237680 => 'MTN Cameroon',
237681 => 'MTN Cameroon',
237682 => 'MTN Cameroon',
237683 => 'MTN Cameroon',
237684 => 'NEXTTEL',
237685 => 'NEXTTEL',
237686 => 'Orange',
237687 => 'Orange',
237688 => 'NEXTTEL',
237689 => 'NEXTTEL',
23769 => 'Orange',
);
1 change: 1 addition & 0 deletions src/carrier/data/en/389.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
38971 => 'T-Mobile',
38972 => 'T-Mobile',
38973 => 'A1',
389736 => 'T-Mobile',
3897370 => 'T-Mobile',
3897371 => 'T-Mobile',
389742 => 'T-Mobile',
Expand Down
3 changes: 3 additions & 0 deletions src/carrier/data/en/39.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
3934 => 'Vodafone',
3936 => 'TIM',
39370 => 'TIM',
39371 => 'Vodafone',
39373 => '3 Italia',
39377 => 'Vodafone',
393780 => 'spusu',
393784 => 'Vodafone',
3938 => 'WIND',
39383 => 'Vodafone',
3939 => '3 Italia',
Expand Down
11 changes: 8 additions & 3 deletions src/carrier/data/en/41.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,14 @@
41781 => 'Salt',
41782 => 'Salt',
41783 => 'Salt',
417840 => 'UPC Switzerland',
417841 => 'UPC Switzerland',
417842 => 'UPC Switzerland',
417840 => 'Sunrise',
417841 => 'Sunrise',
417842 => 'Sunrise',
417844 => 'spusu',
4178460 => 'Tismi',
4178461 => 'Tismi',
4178462 => 'Tismi',
4178463 => 'Tismi',
4178470 => 'MTEL',
4178471 => 'MTEL',
4178472 => 'MTEL',
Expand Down
2 changes: 2 additions & 0 deletions src/carrier/data/en/423.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
423652 => 'Cubic',
423653 => 'Cubic',
423654 => 'Cubic',
423656 => 'Cubic',
423659 => 'Telecom Liechtenstein',
42366 => 'Telecom Liechtenstein',
423661 => 'Dimoco',
42373 => 'Telecom Liechtenstein',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/43.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
43650 => 'tele.ring',
43660 => 'Hutchison Drei Austria',
43664 => 'A1 TA',
43670 => 'spusu',
43676 => 'T-Mobile AT',
436770 => 'T-Mobile AT',
436771 => 'T-Mobile AT',
Expand Down
2 changes: 1 addition & 1 deletion src/carrier/data/en/49.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
491526 => 'Vodafone',
491529 => 'Vodafone/Truphone',
4915555 => 'Tismi BV',
4915566 => 'Drillisch Online',
491556 => '1&1 Mobilfunk',
4915630 => 'Multiconnect',
4915678 => 'Argon Networks',
491570 => 'Eplus/Telogic',
Expand Down
5 changes: 5 additions & 0 deletions src/carrier/data/en/57.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,14 @@
5733316 => 'Libre Tecnologias',
57333170 => 'Libre Tecnologias',
57333171 => 'Libre Tecnologias',
573332 => 'Movil Exito',
5733320 => 'Tigo',
5733321 => 'Tigo',
5733330 => 'GoMobile',
5733332 => 'EZTALK Mobile',
5733333 => 'EZTALK Mobile',
5733334 => 'EZTALK Mobile',
5733335 => 'EZTALK Mobile',
5733340 => 'Comunicaciones Dime',
5733341 => 'Comunicaciones Dime',
5733342 => 'Comunicaciones Dime',
Expand Down
5 changes: 5 additions & 0 deletions src/carrier/data/en/853.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@
8536502 => '3',
8536503 => '3',
8536504 => '3',
8536505 => 'CTM',
8536506 => 'CTM',
8536507 => 'CTM',
8536508 => 'CTM',
8536509 => 'CTM',
8536515 => 'CTM',
8536516 => 'CTM',
8536517 => 'CTM',
Expand Down
3 changes: 2 additions & 1 deletion src/carrier/data/en/90.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@
9054287 => 'KKTC Telsim',
9054288 => 'KKTC Telsim',
9055 => 'Turk Telekom',
9056 => 'Turkcell',
905610 => 'Selam Mobile',
905616 => 'Turkcell',
);
1 change: 1 addition & 0 deletions src/carrier/data/en/966.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
966571 => 'Virgin',
966572 => 'Virgin',
966573 => 'Virgin',
966574 => 'Red Bull Mobile',
966575 => 'Red Bull Mobile',
966576 => 'Lebara',
966577 => 'Lebara',
Expand Down
2 changes: 2 additions & 0 deletions src/carrier/data/en/972.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
97254 => 'Orange',
972550 => 'Beezz',
972552 => '019mobile',
9725520 => 'BITIT',
9725521 => 'BITIT',
9725522 => 'Home Cellular',
9725523 => 'Home Cellular',
9725530 => '019mobile',
Expand Down
19 changes: 16 additions & 3 deletions src/data/PhoneNumberMetadata_881.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[0-36-9]\\d{8}',
'NationalNumberPattern' => '6\\d{9}|[0-36-9]\\d{8}',
'PossibleLength' =>
array (
0 => 9,
1 => 10,
),
'PossibleLengthLocalOnly' =>
array (
Expand All @@ -35,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '[0-36-9]\\d{8}',
'NationalNumberPattern' => '6\\d{9}|[0-36-9]\\d{8}',
'ExampleNumber' => '612345678',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -146,7 +147,19 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '[0-36-9]',
0 => '[0-37-9]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
'nationalPrefixOptionalWhenFormatting' => false,
),
1 =>
array (
'pattern' => '(\\d)(\\d{3})(\\d{5,6})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '6',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
6 changes: 3 additions & 3 deletions src/data/PhoneNumberMetadata_CO.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|60[124-8][2-9]\\d{6}',
'NationalNumberPattern' => '601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|60(?:[124-7][2-9]|8[1-9])\\d{6}',
'ExampleNumber' => '6012345678',
'PossibleLength' =>
array (
Expand All @@ -40,7 +40,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '3333(?:0(?:0\\d|1[0-5])|[4-9]\\d\\d)\\d{3}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}',
'NationalNumberPattern' => '333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}',
'ExampleNumber' => '3211234567',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -148,7 +148,7 @@
'countryCode' => 57,
'internationalPrefix' => '00(?:4(?:[14]4|56)|[579])',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0(4(?:[14]4|56)|[579])?',
'nationalPrefixForParsing' => '0([3579]|4(?:[14]4|56))?',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_IL.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '55410\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2[2-9]|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}',
'NationalNumberPattern' => '55410\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}',
'ExampleNumber' => '502345678',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_LI.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:6(?:(?:4[5-9]|5[0-4])\\d|6(?:[0245]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}',
'NationalNumberPattern' => '(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[0245]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}',
'ExampleNumber' => '660234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MK.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}',
'NationalNumberPattern' => '7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|60|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}',
'ExampleNumber' => '72345678',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_SA.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '579[01]\\d{5}|5(?:[013-689]\\d|7[0-35-8])\\d{6}',
'NationalNumberPattern' => '579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}',
'ExampleNumber' => '512345678',
'PossibleLength' =>
array (
Expand Down
10 changes: 5 additions & 5 deletions src/data/PhoneNumberMetadata_TR.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '56161\\d{5}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}',
'NationalNumberPattern' => '561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}',
'ExampleNumber' => '5012345678',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -195,8 +195,8 @@
'leadingDigitsPatterns' =>
array (
0 => '5(?:[0-59]|61)',
1 => '5(?:[0-59]|616)',
2 => '5(?:[0-59]|6161)',
1 => '5(?:[0-59]|61[06])',
2 => '5(?:[0-59]|61[06]1)',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down Expand Up @@ -248,8 +248,8 @@
'leadingDigitsPatterns' =>
array (
0 => '5(?:[0-59]|61)',
1 => '5(?:[0-59]|616)',
2 => '5(?:[0-59]|6161)',
1 => '5(?:[0-59]|61[06])',
2 => '5(?:[0-59]|61[06]1)',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_UG.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '726[01]\\d{5}|7(?:[01578]\\d|20|36|4[0-4]|6[0-5]|9[89])\\d{6}',
'NationalNumberPattern' => '726[01]\\d{5}|7(?:[01578]\\d|20|36|4[0-4]|6[0-6]|9[89])\\d{6}',
'ExampleNumber' => '712345678',
'PossibleLength' =>
array (
Expand Down
18 changes: 3 additions & 15 deletions src/data/PhoneNumberMetadata_UY.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '0004\\d{2,9}|4\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}',
'NationalNumberPattern' => '0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}',
'PossibleLength' =>
array (
0 => 6,
Expand Down Expand Up @@ -57,7 +57,7 @@
),
'tollFree' =>
array (
'NationalNumberPattern' => '0004\\d{2,9}|(?:4\\d{5}|80[05])\\d{4}|405\\d{4}',
'NationalNumberPattern' => '0004\\d{2,9}|(?:405|80[05])\\d{4}',
'ExampleNumber' => '8001234',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -176,7 +176,7 @@
'format' => '$1 $2',
'leadingDigitsPatterns' =>
array (
0 => '405|8|90',
0 => '[49]0|8',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down Expand Up @@ -219,18 +219,6 @@
'nationalPrefixOptionalWhenFormatting' => false,
),
5 =>
array (
'pattern' => '(\\d{3})(\\d{3})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '4',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
'nationalPrefixOptionalWhenFormatting' => false,
),
6 =>
array (
'pattern' => '(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})',
'format' => '$1 $2 $3 $4',
Expand Down
10 changes: 1 addition & 9 deletions src/geocoding/data/en/598.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,8 @@
598433 => 'Canelones',
598434 => 'San Jose de Mayo',
598435 => 'Florida',
5984360 => 'Durazno',
5984361 => 'Durazno',
5984362 => 'Durazno',
5984363 => 'Durazno',
598436 => 'Durazno',
5984364 => 'Trinidad/Flores',
5984365 => 'Durazno',
5984366 => 'Durazno',
5984367 => 'Durazno',
5984368 => 'Durazno',
5984369 => 'Durazno',
598444 => 'Minas/Lavalleja',
598445 => 'Treinta y Tres',
598447 => 'Rocha',
Expand Down

0 comments on commit fc69cbc

Please sign in to comment.