Skip to content

Commit

Permalink
Metadata updates from Google v6.2.1 (r680)
Browse files Browse the repository at this point in the history
* Metadata changes:
 - Updated phone metadata for region code(s): BW, LB, MD, PA, PF, VI, ZM
 - New carrier data for country calling code(s): 507 (en), 961 (en)
 - Updated carrier data for country calling code(s): 267 (en), 373 (en)
  • Loading branch information
giggsey committed Jul 29, 2014
1 parent f241517 commit 4d23cbe
Show file tree
Hide file tree
Showing 12 changed files with 232 additions and 112 deletions.
126 changes: 64 additions & 62 deletions src/libphonenumber/carrier/data/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,68 +122,70 @@
104 => 501,
105 => 505,
106 => 506,
107 => 51,
108 => 53,
109 => 54,
110 => 55,
111 => 56,
112 => 57,
113 => 58,
114 => 591,
115 => 595,
116 => 597,
117 => 598,
118 => 599,
119 => 60,
120 => 61,
121 => 62,
122 => 63,
123 => 64,
124 => 65,
125 => 66,
126 => 670,
127 => 673,
128 => 675,
129 => 676,
130 => 677,
131 => 678,
132 => 679,
133 => 685,
134 => 686,
135 => 7,
136 => 84,
137 => 852,
138 => 855,
139 => 856,
140 => 86,
141 => 880,
142 => 90,
143 => 91,
144 => 92,
145 => 93,
146 => 94,
147 => 95,
148 => 960,
149 => 962,
150 => 964,
151 => 965,
152 => 966,
153 => 967,
154 => 968,
155 => 970,
156 => 971,
157 => 972,
158 => 973,
159 => 974,
160 => 975,
161 => 977,
162 => 98,
163 => 992,
164 => 993,
165 => 994,
166 => 995,
167 => 996,
168 => 998,
107 => 507,
108 => 51,
109 => 53,
110 => 54,
111 => 55,
112 => 56,
113 => 57,
114 => 58,
115 => 591,
116 => 595,
117 => 597,
118 => 598,
119 => 599,
120 => 60,
121 => 61,
122 => 62,
123 => 63,
124 => 64,
125 => 65,
126 => 66,
127 => 670,
128 => 673,
129 => 675,
130 => 676,
131 => 677,
132 => 678,
133 => 679,
134 => 685,
135 => 686,
136 => 7,
137 => 84,
138 => 852,
139 => 855,
140 => 856,
141 => 86,
142 => 880,
143 => 90,
144 => 91,
145 => 92,
146 => 93,
147 => 94,
148 => 95,
149 => 960,
150 => 961,
151 => 962,
152 => 964,
153 => 965,
154 => 966,
155 => 967,
156 => 968,
157 => 970,
158 => 971,
159 => 972,
160 => 973,
161 => 974,
162 => 975,
163 => 977,
164 => 98,
165 => 992,
166 => 993,
167 => 994,
168 => 995,
169 => 996,
170 => 998,
),
'ru' =>
array (
Expand Down
9 changes: 7 additions & 2 deletions src/libphonenumber/carrier/data/en/267.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
267745 => 'Mascom',
267746 => 'Mascom',
267747 => 'Mascom',
267748 => 'Orange',
267750 => 'Orange',
267751 => 'Orange',
267752 => 'Orange',
Expand All @@ -25,6 +24,7 @@
267755 => 'Mascom',
267756 => 'Mascom',
267757 => 'Orange',
267758 => 'BTC Mobile',
267759 => 'Mascom',
267760 => 'Mascom',
267761 => 'Mascom',
Expand All @@ -34,7 +34,12 @@
267765 => 'Orange',
267766 => 'Mascom',
267767 => 'Mascom',
267769 => 'Orange',
267768 => 'BTC Mobile',
267769 => 'BTC Mobile/Orange',
267770 => 'Mascom',
267771 => 'Mascom',
267774 => 'Orange',
267775 => 'Orange',
267776 => 'Mascom',
267777 => 'Mascom',
);
Expand Down
19 changes: 19 additions & 0 deletions src/libphonenumber/carrier/data/en/373.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@

return array (
373562 => 'IDC',
37360 => 'Orange',
373610 => 'Orange',
373611 => 'Orange',
373621 => 'Orange',
373650 => 'Eventis Mobile',
373671 => 'Moldtelecom',
373672 => 'Moldtelecom',
373673 => 'Moldtelecom',
373674 => 'Moldtelecom',
373675 => 'Moldtelecom',
373676 => 'Moldtelecom',
3736770 => 'Moldtelecom',
3736771 => 'Moldtelecom',
3736772 => 'Moldtelecom',
3736773 => 'Moldtelecom',
3736774 => 'Moldtelecom',
37368 => 'Orange',
37369 => 'Orange',
373760 => 'Moldcell',
373774 => 'IDC',
373775 => 'IDC',
373777 => 'IDC',
Expand Down
76 changes: 76 additions & 0 deletions src/libphonenumber/carrier/data/en/507.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
507111 => 'Digicel',
507161 => 'Cable & Wireless',
507218 => 'Telefónica Móviles',
507219 => 'Telefónica Móviles',
50760 => 'Digicel',
507610 => 'Digicel',
507611 => 'Digicel',
507612 => 'Digicel',
507613 => 'Digicel',
507614 => 'Digicel',
507615 => 'Digicel',
50762 => 'Claro',
507630 => 'Claro',
507631 => 'Claro',
507632 => 'Claro',
507634 => 'Cable & Wireless',
507635 => 'Telefónica Móviles',
507636 => 'Telefónica Móviles',
507637 => 'Cable & Wireless',
507638 => 'Telefónica Móviles',
507639 => 'Telefónica Móviles',
50764 => 'Telefónica Móviles',
507650 => 'Cable & Wireless',
507651 => 'Cable & Wireless',
507652 => 'Cable & Wireless',
507653 => 'Cable & Wireless',
507654 => 'Cable & Wireless',
507655 => 'Cable & Wireless',
507656 => 'Telefónica Móviles',
507657 => 'Telefónica Móviles',
507658 => 'Telefónica Móviles',
507659 => 'Telefónica Móviles',
507660 => 'Telefónica Móviles',
507661 => 'Telefónica Móviles',
507662 => 'Telefónica Móviles',
507663 => 'Telefónica Móviles',
507664 => 'Telefónica Móviles',
507665 => 'Cable & Wireless',
507666 => 'Cable & Wireless',
507667 => 'Cable & Wireless',
507668 => 'Cable & Wireless',
507669 => 'Cable & Wireless',
50767 => 'Cable & Wireless',
507680 => 'Cable & Wireless',
507681 => 'Telefónica Móviles',
507682 => 'Telefónica Móviles',
507683 => 'Telefónica Móviles',
507684 => 'Cable & Wireless',
507685 => 'Telefónica Móviles',
507686 => 'Telefónica Móviles',
507687 => 'Cable & Wireless',
507688 => 'Cable & Wireless',
507689 => 'Telefónica Móviles',
507690 => 'Cable & Wireless',
507691 => 'Cable & Wireless',
507692 => 'Telefónica Móviles',
507693 => 'Telefónica Móviles',
507694 => 'Cable & Wireless',
507695 => 'Cable & Wireless',
507696 => 'Cable & Wireless',
507697 => 'Telefónica Móviles',
507698 => 'Cable & Wireless',
507699 => 'Cable & Wireless',
507810 => 'Mobilphone',
507811 => 'Mobilphone',
507872 => 'Cable & Wireless',
507873 => 'Cable & Wireless',
);
/* EOF */
17 changes: 17 additions & 0 deletions src/libphonenumber/carrier/data/en/961.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
961788 => 'MTC Touch',
9617890 => 'MTC Touch',
9617891 => 'MTC Touch',
9617892 => 'MTC Touch',
9617893 => 'MTC Touch',
9617894 => 'MTC Touch',
961791 => 'Alfa',
961793 => 'Alfa',
);
/* EOF */
8 changes: 4 additions & 4 deletions src/libphonenumber/data/PhoneNumberMetadata_BW.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
array (
'NationalNumberPattern' => '
7(?:
[1-35]\\d{6}|
[46][0-7]\\d{5}|
7[01467]\\d{5}
)
[1-356]\\d|
4[0-7]|
7[014-7]
)\\d{5}
',
'PossibleNumberPattern' => '\\d{8}',
'ExampleNumber' => '71123456',
Expand Down
10 changes: 4 additions & 6 deletions src/libphonenumber/data/PhoneNumberMetadata_LB.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@
(?:
3\\d|
7(?:
[01]\\d|
[019]\\d|
6[013-9]|
8[89]|
91
8[89]
)
)\\d{5}
',
Expand Down Expand Up @@ -146,10 +145,9 @@
0 => '
[89][01]|
7(?:
[01]|
[019]|
6[013-9]|
8[89]|
91
8[89]
)
',
),
Expand Down
19 changes: 12 additions & 7 deletions src/libphonenumber/data/PhoneNumberMetadata_MD.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,23 @@
array (
'NationalNumberPattern' => '
(?:
562|
562\\d|
6(?:
50|
7[1-6]|
[089]\\d
[089]\\d{2}|
1[01]\\d|
21\\d|
50\\d|
7(?:
[1-6]\\d|
7[0-4]
)
)|
7(?:
67|
6[07]|
7[457-9]|
[89]\\d
)
)\\d{5}
)\\d
)\\d{4}
',
'PossibleNumberPattern' => '\\d{8}',
'ExampleNumber' => '65012345',
Expand Down
2 changes: 1 addition & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_PA.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
6(?:
[024-9]\\d|
1[0-5]|
3[04-9]
3[0-24-9]
)\\d{5}
',
'PossibleNumberPattern' => '\\d{7,8}',
Expand Down
Loading

0 comments on commit 4d23cbe

Please sign in to comment.