Skip to content

Commit

Permalink
Merge pull request #38 from giggsey/upstream-8.13.23
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.23
  • Loading branch information
giggsey authored Oct 11, 2023
2 parents 818e5eb + ce4999d commit bd0de00
Show file tree
Hide file tree
Showing 41 changed files with 1,086 additions and 1,086 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.22
v8.13.23
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BW.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
'mobile' =>
[
'NationalNumberPattern' => '(?:321|7(?:[1-7]\\d|8[0-4]))\\d{5}',
'NationalNumberPattern' => '(?:321|7[1-8]\\d)\\d{5}',
'ExampleNumber' => '71123456',
'PossibleLength' =>
[
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GE.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
],
'mobile' =>
[
'NationalNumberPattern' => '5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:00(?:0\\d|11|22|33|44|5[05]|77|88|99)|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:070|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}',
'NationalNumberPattern' => '5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:00(?:0\\d|11|22|33|44|5[05]|77|88|99)|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:070|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}',
'ExampleNumber' => '555123456',
],
'tollFree' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_NU.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
'mobile' =>
[
'NationalNumberPattern' => '888[4-9]\\d{3}',
'NationalNumberPattern' => '888[1-9]\\d{3}',
'ExampleNumber' => '8884012',
'PossibleLength' =>
[
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_RE.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
],
'fixedLine' =>
[
'NationalNumberPattern' => '26(?:2\\d\\d|3(?:0\\d|1[0-5]))\\d{4}',
'NationalNumberPattern' => '26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}',
'ExampleNumber' => '262161234',
],
'mobile' =>
[
'NationalNumberPattern' => '69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))\\d{4}',
'NationalNumberPattern' => '69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}',
'ExampleNumber' => '692123456',
],
'tollFree' =>
Expand Down
54 changes: 27 additions & 27 deletions tests/core/data/PhoneNumberMetadataForTesting_800.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,87 +6,87 @@
* @internal
*/

return [
return [
'generalDesc' =>
[
[
'NationalNumberPattern' => '\\d{8}',
'PossibleLength' =>
[
[
0 => 8,
],
],
'fixedLine' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'mobile' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'tollFree' =>
[
[
'NationalNumberPattern' => '\\d{8}',
'ExampleNumber' => '12345678',
],
'premiumRate' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'sharedCost' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'personalNumber' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'voip' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'pager' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'uan' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'voicemail' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'noInternationalDialling' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
Expand All @@ -95,13 +95,13 @@
'internationalPrefix' => '',
'sameMobileAndFixedLinePattern' => true,
'numberFormat' =>
[
[
0 =>
[
[
'pattern' => '(\\d{4})(\\d{4})',
'format' => '$1 $2',
'leadingDigitsPatterns' =>
[
[
],
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
54 changes: 27 additions & 27 deletions tests/core/data/PhoneNumberMetadataForTesting_882.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,87 +6,87 @@
* @internal
*/

return [
return [
'generalDesc' =>
[
[
'NationalNumberPattern' => '\\d{9}',
'PossibleLength' =>
[
[
0 => 9,
],
],
'fixedLine' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'mobile' =>
[
[
'NationalNumberPattern' => '\\d{9}',
'ExampleNumber' => '123456789',
],
'tollFree' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'premiumRate' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'sharedCost' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'personalNumber' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'voip' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'pager' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'uan' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'voicemail' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
'noInternationalDialling' =>
[
[
'PossibleLength' =>
[
[
0 => -1,
],
],
Expand All @@ -95,13 +95,13 @@
'internationalPrefix' => '',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
[
[
0 =>
[
[
'pattern' => '(\\d)(\\d{4})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
[
[
],
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
Loading

0 comments on commit bd0de00

Please sign in to comment.