Skip to content

Commit

Permalink
Merge pull request #580 from giggsey/upstream-8.13.13
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.13
  • Loading branch information
giggsey committed Jun 5, 2023
2 parents 218caee + 4b6e25f commit a899655
Show file tree
Hide file tree
Showing 15 changed files with 350 additions and 260 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.12
v8.13.13
1 change: 1 addition & 0 deletions src/carrier/data/en/229.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
22940 => 'SBIN',
22941 => 'SBIN',
22942 => 'MTN',
22943 => 'SBIN',
22945 => 'SBIN',
22946 => 'MTN',
2295 => 'MTN',
Expand Down
3 changes: 3 additions & 0 deletions src/carrier/data/en/230.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
2305471 => 'Cellplus',
23055 => 'Emtel',
230550 => 'Cellplus',
230552 => 'MTML',
23057 => 'Cellplus',
230571 => 'Emtel',
230572 => 'Emtel',
Expand Down Expand Up @@ -50,6 +51,8 @@
230598 => 'Emtel',
230700 => 'Cellplus',
230701 => 'Emtel',
230702 => 'MTML',
230730 => 'Emtel',
230731 => 'MTML',
230733 => 'Cellplus',
);
1 change: 1 addition & 0 deletions src/carrier/data/en/32.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
32460 => 'Proximus',
324618 => 'N.M.B.S.',
324630 => 'Lancelot Telecom',
324631 => 'Lancelot Telecom',
32465 => 'Lycamobile',
324650 => 'Telenet',
324660 => 'Lycamobile',
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(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}',
'NationalNumberPattern' => '4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}',
'ExampleNumber' => '412345678',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BJ.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:4[0-256]|[56]\\d|9[013-9])\\d{6}',
'NationalNumberPattern' => '(?:4[0-356]|[56]\\d|9[013-9])\\d{6}',
'ExampleNumber' => '90011234',
'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(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}',
'NationalNumberPattern' => '4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-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(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}',
'NationalNumberPattern' => '4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}',
'ExampleNumber' => '412345678',
'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 @@ -31,7 +31,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-46-9])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}',
'NationalNumberPattern' => '(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}',
'ExampleNumber' => '1212345678',
'PossibleLength' =>
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 @@ -105,7 +105,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '7(?:380|8(?:33|55|77|81))\\d{5}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}',
'NationalNumberPattern' => '7(?:38(?:0\\d|5[09]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}',
'ExampleNumber' => '771234567',
'PossibleLength' =>
array (
Expand Down
3 changes: 1 addition & 2 deletions src/data/PhoneNumberMetadata_LR.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:2\\d{3}|33333)\\d{4}',
'NationalNumberPattern' => '2\\d{7}',
'ExampleNumber' => '21234567',
'PossibleLength' =>
array (
0 => 8,
1 => 9,
),
'PossibleLengthLocalOnly' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MU.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[01]|3[03]))\\d{5}',
'NationalNumberPattern' => '5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-2]|3[013]))\\d{5}',
'ExampleNumber' => '52512345',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_NO.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '[489]|59',
0 => '8',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -175,7 +175,7 @@
'format' => '$1 $2 $3 $4',
'leadingDigitsPatterns' =>
array (
0 => '[235-7]',
0 => '[2-79]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
6 changes: 3 additions & 3 deletions src/data/ShortNumberMetadata_CZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
),
'tollFree' =>
array (
'NationalNumberPattern' => '1(?:1(?:2|6(?:00[06]|1(?:11|23)))|5[0568])',
'NationalNumberPattern' => '1(?:1(?:2|6(?:00[06]|1(?:11|23)))|5\\d)',
'ExampleNumber' => '112',
'PossibleLength' =>
array (
Expand All @@ -51,7 +51,7 @@
),
'emergency' =>
array (
'NationalNumberPattern' => '1(?:12|5[0568])',
'NationalNumberPattern' => '1(?:12|5\\d)',
'ExampleNumber' => '112',
'PossibleLength' =>
array (
Expand All @@ -63,7 +63,7 @@
),
'shortCode' =>
array (
'NationalNumberPattern' => '1(?:1(?:2|8\\d)|(?:2|3\\d)\\d{2,3}|5[0568]|99)|1(?:16|4)\\d{3}',
'NationalNumberPattern' => '1(?:1(?:2|8\\d)|(?:2|3\\d)\\d{2,3}|5\\d|99)|1(?:16|4)\\d{3}',
'ExampleNumber' => '112',
'PossibleLength' =>
array (
Expand Down
Loading

0 comments on commit a899655

Please sign in to comment.