Skip to content

Commit

Permalink
Merge pull request #546 from giggsey/upstream-8.13.1
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.1
  • Loading branch information
giggsey committed Nov 28, 2022
2 parents 2cafed5 + 1b66692 commit 58285ea
Show file tree
Hide file tree
Showing 14 changed files with 272 additions and 531 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.0
v8.13.1
7 changes: 6 additions & 1 deletion src/carrier/data/en/350.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
*/

return array (
3505 => 'GibTel',
35051 => 'Gibfibre',
35052 => 'Gibfibre',
35054 => 'GibTel',
35056 => 'GibTel',
35057 => 'GibTel',
35058 => 'GibTel',
3506 => 'GibTel',
);
1 change: 1 addition & 0 deletions src/carrier/data/en/420.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
42079954 => 'T-Mobile',
42079955 => 'GoMobil',
42079956 => 'GoMobil',
42079957 => 'T-Mobile',
42079979 => 'miniTEL',
42079999 => 'T-Mobile',
);
2 changes: 2 additions & 0 deletions src/carrier/data/en/51.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
return array (
51900 => 'Claro',
51901 => 'Claro',
51904 => 'Entel',
51905 => 'Entel',
51910 => 'Claro',
51912 => 'Entel',
51913 => 'Claro',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/996.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
99655 => 'ALFA Telecom',
99656 => 'Winline',
99657 => 'Sotel',
996600 => 'Sky mobile',
99670 => 'Nur Telecom',
99675 => 'ALFA Telecom',
99677 => 'Sky mobile',
Expand Down
8 changes: 4 additions & 4 deletions src/data/PhoneNumberAlternateFormats_7.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '[3489]|7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))',
0 => '[3489]|7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -36,7 +36,7 @@
'format' => '$1 $2',
'leadingDigitsPatterns' =>
array (
0 => '[3489]|7(?:1(?:[06][3-6]|[13-5][3-5]|2[35]|8[34])|2(?:[1-38][3-5]|[49][35]|5[3-6]|6|7[457]))',
0 => '[3489]|72(?:6|7[457])|7(?:12|2[49])[35]|7(?:1[13-58]|2[1-38])[3-5]|7(?:1[06]|25)[3-6]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -60,7 +60,7 @@
'format' => '$1 $2 $3 $4',
'leadingDigitsPatterns' =>
array (
0 => '[3489]|7(?:[04-8]|1(?:04|[236]3|4[3-5]|5[34])|2(?:13|34|7[39]))',
0 => '[3489]|7(?:[04-9]|1(?:04|[236]3|4[3-5]|5[34])|2(?:13|34|7[39]))',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -72,7 +72,7 @@
'format' => '$1 $2 $3 $4 $5',
'leadingDigitsPatterns' =>
array (
0 => '[3489]|7(?:[04-8]|1(?:04|[236]3|4[3-5]|5[34])|2(?:13|34|7[39]))',
0 => '[3489]|7(?:[04-9]|1(?:04|[236]3|4[3-5]|5[34])|2(?:13|34|7[39]))',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_GI.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '21(?:6[24-7]\\d|90[0-2])\\d{3}|2(?:00|2[25])\\d{5}',
'NationalNumberPattern' => '21(?:6[24-9]\\d|90[0-2])\\d{3}|2(?:00|2[2-5])\\d{5}',
'ExampleNumber' => '20012345',
'PossibleLength' =>
array (
Expand All @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:5[146-8]\\d|606)\\d{5}',
'NationalNumberPattern' => '525(?:0\\d|1[0-4])\\d{3}|(?:5[146-8]\\d|606)\\d{5}',
'ExampleNumber' => '57123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_KG.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|7(?:[07]\\d|55)|88[08]|99[05-9])\\d{6}',
'NationalNumberPattern' => '312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|99[05-9])\\d{6}',
'ExampleNumber' => '700123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_KZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9])|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}',
'NationalNumberPattern' => '(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}',
'ExampleNumber' => '7123456789',
'PossibleLength' =>
array (
Expand Down
8 changes: 4 additions & 4 deletions src/data/PhoneNumberMetadata_RU.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@
'leadingDigitsPatterns' =>
array (
0 => '7(?:1[0-8]|2[1-9])',
1 => '7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))',
2 => '7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2',
1 => '7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))',
2 => '7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2',
),
'nationalPrefixFormattingRule' => '8 ($1)',
'domesticCarrierCodeFormattingRule' => '',
Expand Down Expand Up @@ -240,8 +240,8 @@
'leadingDigitsPatterns' =>
array (
0 => '7(?:1[0-8]|2[1-9])',
1 => '7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))',
2 => '7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2',
1 => '7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))',
2 => '7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2',
),
'nationalPrefixFormattingRule' => '8 ($1)',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
Loading

0 comments on commit 58285ea

Please sign in to comment.