Skip to content

Commit

Permalink
Merge pull request #67 from giggsey/upstream-8.13.41
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.41
  • Loading branch information
giggsey authored Jul 24, 2024
2 parents a6e1029 + e31ee01 commit cc75c75
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion METADATA-VERSION.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* For more information, look at the phing tasks in build.xml
* @internal
*/
return 'v8.13.40';
return 'v8.13.41';
8 changes: 4 additions & 4 deletions src/data/PhoneNumberMetadata_CN.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@
'pattern' => '(\\d{5,6})',
'format' => '$1',
'leadingDigitsPatterns' => [
'1(?:00|2[13])|95',
'1(?:00|2(?:11|39))|95',
'1(?:00|2(?:110|395))|95',
'1(?:00|2[13])|9[56]',
'1(?:00|2(?:1|39))|9[56]',
'1(?:00|2(?:1|395))|9[56]',
],
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -129,7 +129,7 @@
'pattern' => '(\\d{5,6})',
'format' => '$1',
'leadingDigitsPatterns' => [
'10|96',
'10',
],
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
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 @@ -33,7 +33,7 @@
],
],
'mobile' => [
'pattern' => '55410\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}',
'pattern' => '55(?:410|57[0-289])\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}',
'example' => '502345678',
'posLength' => [
9,
Expand Down
17 changes: 9 additions & 8 deletions src/data/ShortNumberMetadata_CN.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@
'id' => 'CN',
'countryCode' => 0,
'generalDesc' => [
'pattern' => '[19]\\d\\d(?:\\d{2,3})?',
'pattern' => '[19]\\d{2,5}',
'posLength' => [
3,
4,
5,
6,
],
],
'tollFree' => [
'pattern' => '1(?:1[09]|2(?:[02]|[13]\\d\\d))',
'pattern' => '1(?:1[09]|2(?:[02]|1\\d\\d|395))',
'example' => '110',
'posLength' => [
3,
Expand All @@ -38,21 +39,21 @@
],
],
'shortCode' => [
'pattern' => '1(?:00\\d\\d|1[029]|2(?:[02]|110|395))|95\\d{3,4}',
'example' => '110',
'pattern' => '1(?:00|1[0249]|2395|6[08])|9[56]\\d{3,4}|12[023]|1(?:0(?:[0-26]\\d|8)|21\\d)\\d',
'example' => '100',
],
'standardRate' => [
'pattern' => '1(?:00\\d\\d|12)|95\\d{3,4}',
'example' => '112',
'pattern' => '1(?:0(?:[0-26]\\d|8)\\d|1[24]|23|6[08])|9[56]\\d{3,4}|100',
'example' => '100',
],
'carrierSpecific' => [
'posLength' => [
-1,
],
],
'smsServices' => [
'pattern' => '121\\d\\d',
'example' => '12100',
'pattern' => '12110',
'example' => '12110',
'posLength' => [
5,
],
Expand Down

0 comments on commit cc75c75

Please sign in to comment.