Skip to content

Commit

Permalink
Merge pull request #20 from giggsey/upstream-8.13.9
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.9
  • Loading branch information
giggsey authored Apr 11, 2023
2 parents 6170739 + 336a054 commit ea31fe6
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 12 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.8
v8.13.9
1 change: 1 addition & 0 deletions src/CountryCodeToRegionCodeMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -916,4 +916,5 @@ class CountryCodeToRegionCodeMap
0 => 'UZ',
],
];

}
1 change: 1 addition & 0 deletions src/CountryCodeToRegionCodeMapForTesting.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,5 @@ class CountryCodeToRegionCodeMapForTesting
0 => 'UZ',
],
];

}
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BL.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
],
'voip' =>
[
'NationalNumberPattern' => '9(?:395|76[018])\\d{5}',
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[01])\\d{4}',
'ExampleNumber' => '976012345',
],
'pager' =>
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_GF.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
],
'voip' =>
[
'NationalNumberPattern' => '9(?:396|76\\d)\\d{5}',
'NationalNumberPattern' => '9(?:(?:396|76\\d)\\d|476[01])\\d{4}',
'ExampleNumber' => '976012345',
],
'pager' =>
Expand Down Expand Up @@ -98,7 +98,7 @@
'format' => '$1 $2 $3 $4',
'leadingDigitsPatterns' =>
[
0 => '[56]|97',
0 => '[56]|9[47]',
],
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
6 changes: 3 additions & 3 deletions src/data/PhoneNumberMetadata_GI.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@
return [
'generalDesc' =>
[
'NationalNumberPattern' => '(?:[25]\\d\\d|606)\\d{5}',
'NationalNumberPattern' => '(?:[25]\\d|60)\\d{6}',
'PossibleLength' =>
[
0 => 8,
],
],
'fixedLine' =>
[
'NationalNumberPattern' => '2190[0-2]\\d{3}|2(?:0(?:0\\d|20)|16[24-9]|2[2-5]\\d)\\d{4}',
'NationalNumberPattern' => '2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}',
'ExampleNumber' => '20012345',
],
'mobile' =>
[
'NationalNumberPattern' => '525(?:0\\d|1[0-4])\\d{3}|(?:5[146-8]\\d|606)\\d{5}',
'NationalNumberPattern' => '5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}',
'ExampleNumber' => '57123456',
],
'tollFree' =>
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_GP.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
'fixedLine' =>
[
'NationalNumberPattern' => '590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|6[0-489]|7[08]|8[0-689]|9\\d)\\d{4}',
'NationalNumberPattern' => '590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}',
'ExampleNumber' => '590201234',
],
'mobile' =>
Expand Down Expand Up @@ -53,7 +53,7 @@
],
'voip' =>
[
'NationalNumberPattern' => '9(?:395|76[018])\\d{5}',
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[01])\\d{4}',
'ExampleNumber' => '976012345',
],
'pager' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_HR.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
],
'mobile' =>
[
'NationalNumberPattern' => '98\\d{6,7}|975(?:1\\d|77|9[67])\\d{4}|9(?:0[1-9]|[1259]\\d|7[0679])\\d{6}',
'NationalNumberPattern' => '9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|77|9[67])))\\d{4}|98\\d{6}',
'ExampleNumber' => '921234567',
'PossibleLength' =>
[
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MF.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
],
'voip' =>
[
'NationalNumberPattern' => '9(?:395|76[018])\\d{5}',
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[01])\\d{4}',
'ExampleNumber' => '976012345',
],
'pager' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MQ.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
],
'voip' =>
[
'NationalNumberPattern' => '9(?:(?:39|47)7[01]|76(?:6\\d|7[0-367]))\\d{4}',
'NationalNumberPattern' => '9(?:397[01]|477[0-2]|76(?:6\\d|7[0-367]))\\d{4}',
'ExampleNumber' => '976612345',
],
'pager' =>
Expand Down

0 comments on commit ea31fe6

Please sign in to comment.