Skip to content

Commit

Permalink
Merge pull request #560 from giggsey/upstream-v8.13.7
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.7
  • Loading branch information
giggsey committed Mar 3, 2023
2 parents 5631645 + a09ac18 commit 281b12d
Show file tree
Hide file tree
Showing 50 changed files with 123 additions and 93 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.6
v8.13.7
26 changes: 15 additions & 11 deletions src/carrier/data/en/1.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,23 @@
124272 => 'BaTelCo',
124273 => 'aliv',
12428 => 'aliv',
124623 => 'Digicel',
124624 => 'Digicel',
124625 => 'Digicel',
124623 => 'Cable & Wireless',
124624 => 'Cable & Wireless',
124625 => 'Cable & Wireless',
1246256 => 'Digicel',
1246257 => 'Digicel',
1246258 => 'Digicel',
1246259 => 'Digicel',
124626 => 'Digicel',
124628 => 'Cable & Wireless',
124635 => 'Digicel',
1246360 => 'Digicel',
1246361 => 'Digicel',
1246362 => 'Digicel',
1246363 => 'Digicel',
1246364 => 'Digicel',
1246365 => 'Digicel',
1246366 => 'Digicel',
124635 => 'Cable & Wireless',
1246360 => 'Cable & Wireless',
1246361 => 'Cable & Wireless',
1246362 => 'Cable & Wireless',
1246363 => 'Cable & Wireless',
1246364 => 'Cable & Wireless',
1246365 => 'Cable & Wireless',
1246366 => 'Cable & Wireless',
1246446 => 'Neptune Communications',
124645 => 'Sunbeach Communications',
12465211 => 'Digicel',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/228.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

return array (
22870 => 'TOGOCEL',
22871 => 'TOGOCEL',
22879 => 'Moov',
22890 => 'TOGOCEL',
22891 => 'TOGOCEL',
Expand Down
7 changes: 0 additions & 7 deletions src/carrier/data/en/33.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,6 @@
3368 => 'Orange France',
33698 => 'Bouygues',
33699 => 'Bouygues',
33700000 => 'Orange France',
33700001 => 'SFR',
33700002 => 'Mobiquithings',
33700003 => 'Bouygues',
33700004 => 'Afone',
33700005 => 'Coriolis Telecom',
33700006 => 'Mobiquithings',
337500 => 'Euroinformation Telecom',
337501 => 'SFR',
337502 => 'SFR',
Expand Down
25 changes: 16 additions & 9 deletions src/carrier/data/en/34.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
3460228 => 'Orange',
3460229 => 'Boutique',
346023 => 'Lycamobile',
346024 => 'Lebara',
346025 => 'Lebara',
346026 => 'Lebara',
346024 => 'Yoigo',
346025 => 'Yoigo',
346026 => 'Yoigo',
346027 => 'Lebara',
346028 => 'Lycamobile',
346029 => 'DIA',
Expand All @@ -47,18 +47,25 @@
3460307 => 'Lebara',
3460308 => 'Lebara',
3460309 => 'Lebara',
346031 => 'Lebara',
346032 => 'Lebara',
346033 => 'Lebara',
346031 => 'Yoigo',
346032 => 'Yoigo',
346033 => 'Yoigo',
346034 => 'Vodafone',
346035 => 'Vodafone',
346036 => 'Vodafone',
346037 => 'Vodafone',
346038 => 'Vodafone',
346039 => 'Lebara',
34604 => 'Lebara',
346040 => 'Orange',
346041 => 'Yoigo',
346042 => 'Yoigo',
346043 => 'Yoigo',
346044 => 'Lebara',
346045 => 'Orange',
346046 => 'Lebara',
346047 => 'Lebara',
346048 => 'Lebara',
346049 => 'Lebara',
34605 => 'Orange',
3460529 => 'MasMovil',
34606 => 'Movistar',
Expand All @@ -68,8 +75,8 @@
34610 => 'Vodafone',
34611 => 'Republica Movil',
346110 => 'Orange',
346112 => 'Lebara',
346113 => 'Lebara',
346112 => 'Yoigo',
346113 => 'Yoigo',
34612 => 'Syma',
346122 => 'Lycamobile',
346124 => 'Lycamobile',
Expand Down
15 changes: 9 additions & 6 deletions src/carrier/data/en/370.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
370660 => 'BITĖ',
370661 => 'BITĖ',
3706610 => 'Tele 2',
37066186 => 'Lancelot Telecom',
370662 => 'Telia',
3706630 => 'Telia',
37066313 => 'BITĖ',
Expand All @@ -34,7 +35,14 @@
37066318 => 'BITĖ',
37066319 => 'BITĖ',
37066320 => 'BITĖ',
37066321 => 'Lancelot Telecom',
37066323 => 'BITĖ',
37066324 => 'Lancelot Telecom',
37066325 => 'Lancelot Telecom',
37066326 => 'Lancelot Telecom',
37066327 => 'Lancelot Telecom',
37066328 => 'Lancelot Telecom',
37066329 => 'Lancelot Telecom',
3706650 => 'Telia',
3706651 => 'Telia',
37066522 => 'Telia',
Expand Down Expand Up @@ -118,12 +126,7 @@
37069748 => 'Telia',
37069749 => 'Telia',
3706975 => 'Telia',
37069760 => 'Telia',
37069761 => 'Telia',
37069762 => 'Telia',
37069763 => 'Telia',
37069764 => 'Telia',
37069765 => 'Telia',
3706976 => 'Lancelot Telecom',
3706977 => 'Telia',
3706979 => 'Telia',
370698 => 'Telia',
Expand Down
17 changes: 16 additions & 1 deletion src/carrier/data/en/389.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
*/

return array (
3897 => 'A1',
38970 => 'T-Mobile',
38971 => 'T-Mobile',
38972 => 'T-Mobile',
38973 => 'A1',
3897370 => 'T-Mobile',
3897371 => 'T-Mobile',
389742 => 'T-Mobile',
Expand All @@ -23,7 +23,22 @@
3897470 => 'T-Mobile',
3897471 => 'T-Mobile',
3897474 => 'T-Mobile',
3897475 => 'A1',
3897477 => 'A1',
38974774 => 'Telekabel',
3897478 => 'A1',
38975 => 'A1',
38976 => 'A1',
38977 => 'A1',
38978 => 'A1',
389790 => 'A1',
389791 => 'A1',
389792 => 'Lyca Mobile',
389793 => 'Lyca Mobile',
389794 => 'Lyca Mobile',
389795 => 'Lyca Mobile',
3897970 => 'T-Mobile',
3897971 => 'T-Mobile',
3897975 => 'A1',
389799 => 'A1',
);
6 changes: 1 addition & 5 deletions src/carrier/data/en/41.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@
417508 => 'Swisscom',
417509 => 'Swisscom',
417519 => 'Swisscom',
417520 => 'Swisscom',
417521 => 'Swisscom',
417522 => 'Swisscom',
417523 => 'Swisscom',
417524 => 'Swisscom',
41752 => 'Swisscom',
41754 => 'Swisscom',
417550 => 'Swisscom',
417551 => 'Swisscom',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_AG.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([457]\\d{6})$',
'nationalPrefixForParsing' => '([457]\\d{6})$|1',
'nationalPrefixTransformRule' => '268$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_AI.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([2457]\\d{6})$',
'nationalPrefixForParsing' => '([2457]\\d{6})$|1',
'nationalPrefixTransformRule' => '264$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_AS.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([267]\\d{6})$',
'nationalPrefixForParsing' => '([267]\\d{6})$|1',
'nationalPrefixTransformRule' => '684$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_AU.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
'internationalPrefix' => '001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011',
'preferredInternationalPrefix' => '0011',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0|(183[12])',
'nationalPrefixForParsing' => '(183[12])|0',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BB.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([2-9]\\d{6})$',
'nationalPrefixForParsing' => '([2-9]\\d{6})$|1',
'nationalPrefixTransformRule' => '246$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BM.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([2-9]\\d{6})$',
'nationalPrefixForParsing' => '([2-9]\\d{6})$|1',
'nationalPrefixTransformRule' => '441$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BS.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([3-8]\\d{6})$',
'nationalPrefixForParsing' => '([3-8]\\d{6})$|1',
'nationalPrefixTransformRule' => '242$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_CC.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
'internationalPrefix' => '001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011',
'preferredInternationalPrefix' => '0011',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0|([59]\\d{7})$',
'nationalPrefixForParsing' => '([59]\\d{7})$|0',
'nationalPrefixTransformRule' => '8$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_CN.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
'internationalPrefix' => '00|1(?:[12]\\d|79)\\d\\d00',
'preferredInternationalPrefix' => '00',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0|(1(?:[12]\\d|79)\\d\\d)',
'nationalPrefixForParsing' => '(1(?:[12]\\d|79)\\d\\d)|0',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_CX.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
'internationalPrefix' => '001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011',
'preferredInternationalPrefix' => '0011',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0|([59]\\d{7})$',
'nationalPrefixForParsing' => '([59]\\d{7})$|0',
'nationalPrefixTransformRule' => '8$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_DM.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([2-7]\\d{6})$',
'nationalPrefixForParsing' => '([2-7]\\d{6})$|1',
'nationalPrefixTransformRule' => '767$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_FR.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7(?:00|[3-9]\\d))\\d{6}',
'NationalNumberPattern' => '(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}',
'ExampleNumber' => '612345678',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GD.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([2-9]\\d{6})$',
'nationalPrefixForParsing' => '([2-9]\\d{6})$|1',
'nationalPrefixTransformRule' => '473$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GG.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
'countryCode' => 44,
'internationalPrefix' => '00',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0|([25-9]\\d{5})$',
'nationalPrefixForParsing' => '([25-9]\\d{5})$|0',
'nationalPrefixTransformRule' => '1481$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GU.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([3-9]\\d{6})$',
'nationalPrefixForParsing' => '([3-9]\\d{6})$|1',
'nationalPrefixTransformRule' => '671$1',
'sameMobileAndFixedLinePattern' => true,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_IM.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
'countryCode' => 44,
'internationalPrefix' => '00',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0|([25-8]\\d{5})$',
'nationalPrefixForParsing' => '([25-8]\\d{5})$|0',
'nationalPrefixTransformRule' => '1624$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_JE.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
'countryCode' => 44,
'internationalPrefix' => '00',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0|([0-24-8]\\d{5})$',
'nationalPrefixForParsing' => '([0-24-8]\\d{5})$|0',
'nationalPrefixTransformRule' => '1534$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_KN.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([2-7]\\d{6})$',
'nationalPrefixForParsing' => '([2-7]\\d{6})$|1',
'nationalPrefixTransformRule' => '869$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_KY.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([2-9]\\d{6})$',
'nationalPrefixForParsing' => '([2-9]\\d{6})$|1',
'nationalPrefixTransformRule' => '345$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_LC.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
'countryCode' => 1,
'internationalPrefix' => '011',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1|([2-8]\\d{6})$',
'nationalPrefixForParsing' => '([2-8]\\d{6})$|1',
'nationalPrefixTransformRule' => '758$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_LI.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
'countryCode' => 423,
'internationalPrefix' => '00',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0|(1001)',
'nationalPrefixForParsing' => '(1001)|0',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MG.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
'countryCode' => 261,
'internationalPrefix' => '00',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0|([24-9]\\d{6})$',
'nationalPrefixForParsing' => '([24-9]\\d{6})$|0',
'nationalPrefixTransformRule' => '20$1',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand Down
Loading

0 comments on commit 281b12d

Please sign in to comment.