Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.13.15
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s): BE, BF, IL, MN, NE, OM, SO, SV
 - Updated carrier data for country calling code(s):
   226 (en), 227 (en), 252 (en), 351 (en), 968 (en), 972 (en)
  • Loading branch information
giggsey committed Jun 23, 2023
1 parent 31b94ef commit c19ca7e
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 17 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.14
v8.13.15
1 change: 1 addition & 0 deletions src/carrier/data/en/226.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
22605 => 'Orange',
22606 => 'Orange',
22607 => 'Orange',
22650 => 'Onatel',
22651 => 'Onatel',
22652 => 'Onatel',
22653 => 'Onatel',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/227.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
22723 => 'Orange',
22770 => 'Orange',
22774 => 'Moov',
22777 => 'Airtel',
22780 => 'Orange',
22781 => 'Orange',
22782 => 'Orange',
Expand Down
6 changes: 2 additions & 4 deletions src/carrier/data/en/252.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
25239 => 'AirSom',
25248 => 'AirSom',
25249 => 'AirSom',
252604 => 'Golis Telecom',
252605 => 'Golis Telecom',
252606 => 'Golis Telecom',
252607 => 'Golis Telecom',
25260 => 'Golis Telecom',
25261 => 'Hormuud',
25262 => 'Somtel',
25263 => 'Telesom',
Expand All @@ -32,6 +29,7 @@
25269 => 'Nationlink',
25270 => 'Golis Telecom',
25271 => 'Amtel',
25272 => 'Golis Telecom',
25279 => 'Somtel',
25280 => 'Somali Networks',
25288 => 'Somali Networks',
Expand Down
3 changes: 1 addition & 2 deletions src/carrier/data/en/351.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@
3519220 => 'Vodafone',
3519221 => 'MEO',
3519222 => 'MEO',
3519230 => 'NOS',
351923 => 'NOS',
3519231 => 'Vodafone',
3519232 => 'MEO',
3519233 => 'Digi Communications',
3519234 => 'NOS',
351924 => 'MEO',
351925 => 'MEO',
351926 => 'MEO',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/968.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
9681 => 'Ooredoo',
96871 => 'Omantel',
96872 => 'Omantel',
96876 => 'Vodafone Oman',
96877 => 'Vodafone Oman',
96878 => 'Ooredoo',
968790 => 'Ooredoo',
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 @@ -26,8 +26,10 @@
9725531 => '019mobile',
9725532 => 'Free Telecom',
9725533 => 'Free Telecom',
9725541 => 'Merkaziya',
9725543 => 'Maskyoo',
9725544 => 'Cellran Cellular Communications',
97255440 => 'Merkaziya',
9725550 => 'Annatel',
9725551 => 'Annatel',
9725555 => 'Rami Levy',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BE.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
),
'premiumRate' =>
array (
'NationalNumberPattern' => '(?:70(?:2[0-57]|3[04-7]|44|6[569]|7[0579])|90\\d\\d)\\d{4}',
'NationalNumberPattern' => '(?:70(?:2[0-57]|3[04-7]|44|6[4-69]|7[0579])|90\\d\\d)\\d{4}',
'ExampleNumber' => '90012345',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BF.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:0[1-35-7]|5[1-8]|[67]\\d)\\d{6}',
'NationalNumberPattern' => '(?:0[1-35-7]|5[0-8]|[67]\\d)\\d{6}',
'ExampleNumber' => '70123456',
'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 @@ -45,7 +45,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '5(?:(?:[02368]\\d|[19][2-9]|4[1-9])\\d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}',
'NationalNumberPattern' => '55410\\d{4}|5(?:(?:[02368]\\d|[19][2-9]|4[1-9])\\d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|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_MN.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '[12]2[1-3]\\d{5,6}|7(?:0[0-5]\\d|128)\\d{4}|(?:[12](?:1|27)|5[368])\\d{6}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}',
'NationalNumberPattern' => '[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}',
'ExampleNumber' => '53123456',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_NE.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:23|7[04]|[89]\\d)\\d{6}',
'NationalNumberPattern' => '(?:23|7[047]|[89]\\d)\\d{6}',
'ExampleNumber' => '93123456',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -161,7 +161,7 @@
'format' => '$1 $2 $3 $4',
'leadingDigitsPatterns' =>
array (
0 => '[089]|2[013]|7[04]',
0 => '[089]|2[013]|7[047]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_OM.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '1505\\d{4}|(?:7(?:[1289]\\d|7[0-5])|9(?:0[1-9]|[1-9]\\d))\\d{5}',
'NationalNumberPattern' => '1505\\d{4}|(?:7(?:[1289]\\d|69|7[0-5])|9(?:0[1-9]|[1-9]\\d))\\d{5}',
'ExampleNumber' => '92123456',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_SO.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:(?:15|(?:3[59]|4[89]|79|8[08])\\d|6(?:0[5-7]|[1-9]\\d)|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}',
'NationalNumberPattern' => '(?:(?:15|(?:3[59]|4[89]|6\\d|79|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}',
'ExampleNumber' => '71123456',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -217,7 +217,7 @@
'format' => '$1 $2',
'leadingDigitsPatterns' =>
array (
0 => '1|28|6(?:0[5-7]|[1-35-9])|9[2-9]',
0 => '1|28|6[0-35-9]|9[2-9]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_SV.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '2(?:[1-6]\\d{3}|[79]90[034]|890[0245])\\d{3}',
'NationalNumberPattern' => '2(?:(?:[1-6]\\d\\d|990)\\d|790[034]|890[0245])\\d{3}',
'ExampleNumber' => '21234567',
'PossibleLength' =>
array (
Expand Down

0 comments on commit c19ca7e

Please sign in to comment.