Skip to content

Commit

Permalink
Merge pull request #659 from giggsey/upstream-8.13.48
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.48
  • Loading branch information
giggsey authored Oct 22, 2024
2 parents 717d328 + 0a8e05c commit 0965dd4
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 21 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.47
v8.13.48
20 changes: 6 additions & 14 deletions src/carrier/data/en/47.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,28 +112,17 @@
474629 => 'erate',
47463 => 'telia',
47464 => 'NetCom',
474650 => 'telia',
47465 => 'telia',
474651 => 'ice norge',
474652 => 'ice norge',
474653 => 'ice norge',
474654 => 'telia',
474655 => 'telia',
474656 => 'telia',
474657 => 'telia',
474658 => 'telia',
474659 => 'telia',
47466 => 'telia',
474666 => 'telenor norge',
474667 => 'telenor norge',
474670 => 'telia',
47467 => 'telia',
474671 => 'lyca mobile',
474672 => 'lyca mobile',
474674 => 'telia',
474675 => 'telia',
474676 => 'telia',
474677 => 'telia',
474678 => 'telia',
474679 => 'telia',
474673 => 'Ixt AS',
47468 => 'telenor norge',
474690 => 'telenor norge',
474691 => 'telenor norge',
Expand Down Expand Up @@ -377,6 +366,9 @@
479698 => 'lyca mobile',
479699 => 'lyca mobile',
4797 => 'telenor norge',
479727 => 'ice norge',
479728 => 'ice norge',
479729 => 'ice norge',
479730 => 'ice norge',
479731 => 'ice norge',
479732 => 'ice norge',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_DE.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
],
'mobile' => [
'NationalNumberPattern' => '15310\\d{6}|1(?:6[023]|7[0-57-9])\\d{7,8}|1(?:5[0-25-9]|76)\\d{8}',
'NationalNumberPattern' => '16[023]\\d{7,8}|1(?:5310|7[0-57-9]\\d)\\d{6}|1(?:5[0-25-9]|76)\\d{8}',
'ExampleNumber' => '15123456789',
'PossibleLength' => [
10,
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_SG.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '(?:8(?:0(?:[1-8]\\d|9[0-689])|[1-8]\\d\\d|9(?:[0-4]\\d|5[0-3]|62))|9[0-8]\\d\\d)\\d{4}',
'NationalNumberPattern' => '(?:8(?:0(?:[1-8]\\d|9[0-689])|[1-8]\\d\\d|9(?:[0-4]\\d|5[0-3]|6[0-2]))|9[0-8]\\d\\d)\\d{4}',
'ExampleNumber' => '81234567',
'PossibleLength' => [
8,
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 @@ -29,7 +29,7 @@
],
],
'mobile' => [
'NationalNumberPattern' => '72[48]0\\d{5}|7(?:[015-8]\\d|2[067]|36|4[0-5]|9[89])\\d{6}',
'NationalNumberPattern' => '72[48]0\\d{5}|7(?:[015-8]\\d|2[067]|36|4[0-6]|9[89])\\d{6}',
'ExampleNumber' => '712345678',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down
8 changes: 5 additions & 3 deletions src/data/PhoneNumberMetadata_WF.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

return [
'generalDesc' => [
'NationalNumberPattern' => '(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?',
'NationalNumberPattern' => '(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}',
'PossibleLength' => [
6,
9,
Expand Down Expand Up @@ -58,8 +58,10 @@
'PossibleLengthLocalOnly' => [],
],
'voip' => [
'NationalNumberPattern' => '9[23]\\d{4}',
'ExampleNumber' => '921234',
'PossibleLength' => [
-1,
6,
],
'PossibleLengthLocalOnly' => [],
],
Expand Down Expand Up @@ -98,7 +100,7 @@
'pattern' => '(\\d{2})(\\d{2})(\\d{2})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' => [
'[478]',
'[47-9]',
],
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down

0 comments on commit 0965dd4

Please sign in to comment.