Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.13.55
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s): BE, CZ, SR
 - Updated short number metadata for region code(s): NO
 - Updated carrier data for country calling code(s):
   33 (en), 41 (en), 255 (en), 351 (en), 503 (en), 597 (en)
  • Loading branch information
giggsey committed Feb 14, 2025
1 parent 42d3a03 commit 825cbb5
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 10 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.54
v8.13.55
2 changes: 1 addition & 1 deletion src/carrier/data/en/255.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
25576 => 'Vodacom',
25577 => 'tiGO',
25578 => 'Airtel',
25579 => 'Benson Informatics',
25579 => 'Vodacom',
];
1 change: 1 addition & 0 deletions src/carrier/data/en/33.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@
3375714 => 'SFR',
3375715 => 'AIF',
3375717 => 'Keyyo',
3375719 => 'Orange France',
337572 => 'Mobiquithings',
337573 => 'Mobiquithings',
337574 => 'Coriolis Telecom',
Expand Down
6 changes: 3 additions & 3 deletions src/carrier/data/en/351.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
351925 => 'MEO',
351926 => 'MEO',
351927 => 'MEO',
3519280 => 'NOWO',
3519281 => 'NOWO',
3519280 => 'MEO',
3519281 => 'MEO',
3519282 => 'Digi Communications',
3519283 => 'Digi Communications',
3519284 => 'Digi Communications',
3519285 => 'ONITELECOM',
3519285 => 'MEO',
3519290 => 'NOS',
3519291 => 'NOS',
3519292 => 'NOS',
Expand Down
3 changes: 3 additions & 0 deletions src/carrier/data/en/41.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
417557 => 'Swisscom',
41757 => 'Swisscom',
417600 => 'Sunrise',
417603 => 'Sunrise',
417604 => 'Sunrise',
417605 => 'Sunrise',
41762 => 'Sunrise',
41763 => 'Sunrise',
41764 => 'Sunrise',
Expand Down
3 changes: 3 additions & 0 deletions src/carrier/data/en/503.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,18 @@
503640 => 'SIGET',
503641 => 'SIGET',
503642 => 'Movistar',
503643 => 'Tigo',
5036430 => 'Movistar',
5036431 => 'Movistar',
503644 => 'Tigo',
503645 => 'Tigo',
503646 => 'Tigo',
503649 => 'SIGET',
50365 => 'SIGET',
50366 => 'SIGET',
50366116 => 'Movistar',
50367 => 'SIGET',
503690 => 'Tigo',
503692 => 'Tigo',
503693 => 'Tigo',
503694 => 'Tigo',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/597.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
5978 => 'Telesur',
59781 => 'Digicel',
59782 => 'Digicel',
59783 => 'Digicel',
];
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_BE.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
'PossibleLengthLocalOnly' => [],
],
'premiumRate' => [
'NationalNumberPattern' => '(?:70(?:2[0-57]|3[04-7]|44|6[4-69]|7[0579])|90\\d\\d)\\d{4}',
'NationalNumberPattern' => '(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}',
'ExampleNumber' => '90012345',
'PossibleLength' => [
8,
Expand Down Expand Up @@ -75,7 +75,7 @@
'PossibleLengthLocalOnly' => [],
],
'uan' => [
'NationalNumberPattern' => '78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}',
'NationalNumberPattern' => '78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}',
'ExampleNumber' => '78102345',
'PossibleLength' => [
8,
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_CZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[01]|[2379]\\d\\d))\\d{5}',
'NationalNumberPattern' => '(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[0-2]|[2379]\\d\\d))\\d{5}',
'ExampleNumber' => '601123456',
'PossibleLength' => [
9,
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_SR.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '(?:7[124-7]|8[124-9])\\d{5}',
'NationalNumberPattern' => '(?:7[124-7]|8[1-9])\\d{5}',
'ExampleNumber' => '7412345',
'PossibleLength' => [
7,
Expand Down
2 changes: 1 addition & 1 deletion src/data/ShortNumberMetadata_NO.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
'PossibleLengthLocalOnly' => [],
],
'shortCode' => [
'NationalNumberPattern' => '04\\d{3}|1(?:1(?:[0239]|61(?:1[17]|23))|2[048]|4(?:12|[59])|7[57]|8[5-9]\\d|90)',
'NationalNumberPattern' => '04\\d{3}|1(?:1(?:[0239]|61(?:1[17]|23))|2[048]|4(?:12|[59])|7[57]|8\\d\\d|90)',
'ExampleNumber' => '110',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down

0 comments on commit 825cbb5

Please sign in to comment.