Skip to content

Commit

Permalink
Merge pull request #387 from giggsey/upstream-8.12.5
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.12.5
  • Loading branch information
giggsey authored Jun 3, 2020
2 parents 2122a5c + a3a908c commit 476a40b
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 18 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.4
v8.12.5
1 change: 1 addition & 0 deletions src/carrier/data/en/262.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
26269360 => 'Only',
26269361 => 'ZEOP Mobile',
26269362 => 'ZEOP Mobile',
26269363 => 'ZEOP Mobile',
26269366 => 'Orange',
26269370 => 'Only',
26269371 => 'Only',
Expand Down
2 changes: 2 additions & 0 deletions src/carrier/data/en/34.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
*/

return array (
345901 => 'Movistar',
345906 => 'Vodafone',
34600 => 'Vodafone',
34601 => 'Vodafone',
346016 => 'Orange',
Expand Down
7 changes: 6 additions & 1 deletion src/carrier/data/en/82.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@
821056 => 'LG U+',
821057 => 'LG U+',
821058 => 'LG U+',
821059 => 'SKTellink',
8210590 => 'SKTellink',
8210591 => 'SKTellink',
8210592 => 'SKTellink',
8210593 => 'SKTellink',
8210594 => 'SKTellink',
8210595 => 'SKTellink',
821062 => 'SKTellink',
821063 => 'SKTellink',
821064 => 'SKTellink',
Expand Down
3 changes: 2 additions & 1 deletion src/carrier/data/en/992.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
return array (
9920 => 'Megafon',
9921 => 'Tcell',
99240 => 'Tacom',
99241 => 'Megafon',
99250 => 'Tcell',
99255 => 'Megafon',
9927 => 'Tcell',
9928 => 'Megafon',
99288 => 'Megafon',
99290 => 'Megafon',
992911 => 'Tacom',
992915 => 'Tacom',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/998.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/

return array (
9985 => 'Uzbektelecom',
99861220 => 'MTS',
99861221 => 'MTS',
9986129 => 'MTS',
Expand Down
7 changes: 6 additions & 1 deletion src/carrier/data/ko/82.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@
821056 => '데이콤',
821057 => '데이콤',
821058 => '데이콤',
821059 => 'SK 텔링크',
8210590 => 'SK 텔링크',
8210591 => 'SK 텔링크',
8210592 => 'SK 텔링크',
8210593 => 'SK 텔링크',
8210594 => 'SK 텔링크',
8210595 => 'SK 텔링크',
821062 => 'SK 텔링크',
821063 => 'SK 텔링크',
821064 => 'SK 텔링크',
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_ES.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '(?:51|[6-9]\\d)\\d{7}',
'NationalNumberPattern' => '[5-9]\\d{8}',
'PossibleLength' =>
array (
0 => 9,
Expand All @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '9(?:6906(?:09|10)|7390\\d\\d)\\d\\d|(?:6\\d|7[1-48])\\d{7}',
'NationalNumberPattern' => '(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}',
'ExampleNumber' => '612345678',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GB.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
),
'pager' =>
array (
'NationalNumberPattern' => '76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[39])\\d{6}',
'NationalNumberPattern' => '76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}',
'ExampleNumber' => '7640123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GG.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
),
'pager' =>
array (
'NationalNumberPattern' => '76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[39])\\d{6}',
'NationalNumberPattern' => '76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}',
'ExampleNumber' => '7640123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_JE.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
),
'pager' =>
array (
'NationalNumberPattern' => '76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[39])\\d{6}',
'NationalNumberPattern' => '76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}',
'ExampleNumber' => '7640123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_KR.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '1(?:05(?:[0-8]\\d|9[0-5])|22[13]\\d)\\d{4,5}|1(?:0[1-46-9]|[16-9]\\d|2[013-9])\\d{6,7}',
'NationalNumberPattern' => '1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[1-46-9]|[16-9]\\d|2[013-9])\\d{6,7}',
'ExampleNumber' => '1020000000',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_RE.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[05]|6[0-26]|7[0-27]|8[0-8]|9[0-479]))|9769\\d)\\d{4}',
'NationalNumberPattern' => '(?:69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[05]|6[0-36]|7[0-27]|8[0-8]|9[0-479]))|9769\\d)\\d{4}',
'ExampleNumber' => '692123456',
'PossibleLength' =>
array (
Expand Down
7 changes: 4 additions & 3 deletions src/data/PhoneNumberMetadata_TJ.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '(?:00|11|[3-579]\\d|88)\\d{7}',
'NationalNumberPattern' => '(?:00|11|[3-57-9]\\d)\\d{7}',
'PossibleLength' =>
array (
0 => 9,
Expand Down Expand Up @@ -44,7 +44,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '41[18]\\d{6}|(?:00|11|5[05]|7[07]|88|9\\d)\\d{7}',
'NationalNumberPattern' => '41[18]\\d{6}|(?:[04]0|11|5[05]|7[07]|88|9\\d)\\d{7}',
'ExampleNumber' => '917123456',
'PossibleLength' =>
array (
Expand All @@ -55,9 +55,10 @@
),
'tollFree' =>
array (
'NationalNumberPattern' => '800\\d{6}',
'ExampleNumber' => '800123456',
'PossibleLength' =>
array (
0 => -1,
),
'PossibleLengthLocalOnly' =>
array (
Expand Down
6 changes: 3 additions & 3 deletions src/data/PhoneNumberMetadata_UZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '(?:[679]\\d|88)\\d{7}',
'NationalNumberPattern' => '55501\\d{4}|(?:[679]\\d|88)\\d{7}',
'PossibleLength' =>
array (
0 => 9,
Expand All @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07])))|(?:88|9[0-57-9])\\d{3})\\d{4}',
'NationalNumberPattern' => '(?:55501|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07])))|(?:88|9[0-57-9])\\d{3})\\d{4}',
'ExampleNumber' => '912345678',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -150,7 +150,7 @@
'format' => '$1 $2 $3 $4',
'leadingDigitsPatterns' =>
array (
0 => '[6-9]',
0 => '[5-9]',
),
'nationalPrefixFormattingRule' => '8 $1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/geocoding/data/en/81.php
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@
819556 => 'Karatsu, Saga',
819557 => 'Karatsu, Saga',
819558 => 'Karatsu, Saga',
81956 => 'Sasebo, Japan',
81956 => 'Sasebo, Nagasaki',
819572 => 'Isahaya, Nagasaki',
819573 => 'Isahaya, Nagasaki',
819574 => 'Isahaya, Nagasaki',
Expand Down

0 comments on commit 476a40b

Please sign in to comment.