Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream metadata changes from Google for v8.13.51 #80

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion METADATA-VERSION.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

/**
* This file specifies the revision of the metadata to build from.
* 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
* @internal
*/
return 'v8.13.50';
return 'v8.13.51';
1 change: 1 addition & 0 deletions src/CountryCodeToRegionCodeMap.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/CountryCodeToRegionCodeMapForTesting.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/ShortNumberInfo.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Methods for getting information about short phone numbers, such as short codes and emergency
* numbers. Note that most commercial short numbers are not handled here, but by the
Expand Down
1 change: 1 addition & 0 deletions src/ShortNumbersRegionCodeSet.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_800.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_808.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
9 changes: 6 additions & 3 deletions src/data/PhoneNumberMetadata_870.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand All @@ -10,7 +11,7 @@
'id' => '001',
'countryCode' => 870,
'generalDesc' => [
'pattern' => '7\\d{11}|[35-7]\\d{8}',
'pattern' => '7\\d{11}|[235-7]\\d{8}',
'posLength' => [
9,
12,
Expand Down Expand Up @@ -46,8 +47,10 @@
],
],
'voip' => [
'pattern' => '2\\d{8}',
'example' => '201234567',
'posLength' => [
-1,
9,
],
],
'pager' => [
Expand Down Expand Up @@ -76,7 +79,7 @@
'pattern' => '(\\d{3})(\\d{3})(\\d{3})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' => [
'[35-7]',
'[235-7]',
],
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_878.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_881.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_882.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_883.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_888.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_979.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AC.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AD.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AE.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AF.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AG.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AI.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AL.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AM.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AO.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AR.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AS.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AT.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AU.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AW.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AX.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_AZ.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BA.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BB.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BD.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BE.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BF.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BG.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BH.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BI.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BJ.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BL.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BM.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BN.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BO.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BQ.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BR.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BS.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BT.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BW.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BY.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_BZ.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
9 changes: 5 additions & 4 deletions src/data/PhoneNumberMetadata_CA.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand All @@ -10,14 +11,14 @@
'id' => 'CA',
'countryCode' => 1,
'generalDesc' => [
'pattern' => '(?:[2-8]\\d|90)\\d{8}|3\\d{6}',
'pattern' => '[2-9]\\d{9}|3\\d{6}',
'posLength' => [
7,
10,
],
],
'fixedLine' => [
'pattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}',
'pattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}',
'example' => '5062345678',
'posLength' => [
10,
Expand All @@ -27,7 +28,7 @@
],
],
'mobile' => [
'pattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}',
'pattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}',
'example' => '5062345678',
'posLength' => [
10,
Expand Down Expand Up @@ -56,7 +57,7 @@
],
],
'personalNumber' => [
'pattern' => '52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}',
'pattern' => '52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}',
'example' => '5002345678',
'posLength' => [
10,
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_CC.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_CD.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_CF.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
1 change: 1 addition & 0 deletions src/data/PhoneNumberMetadata_CG.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* libphonenumber-for-php-lite data file
* This file has been @generated from libphonenumber data
Expand Down
Loading
Loading