Skip to content

Commit

Permalink
Upstream metadata changes from Google for v7.2.8
Browse files Browse the repository at this point in the history
Metadata changes:
 - Updated phone metadata for region code(s): CL, CN, FO, KE, SE, SO
 - Updated short number metadata for region code(s): FO
 - Updated geocoding data for country calling code(s): 86 (en, zh)
 - Updated carrier data for country calling code(s):
   86 (en), 252 (en), 254 (en)
  • Loading branch information
giggsey committed Mar 21, 2016
1 parent 6a63cbe commit 3214f7d
Show file tree
Hide file tree
Showing 56 changed files with 861 additions and 638 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/googlei18n/libphonenumber project
#
# For more information, look at the phing tasks in build.xml
libphonenumber-7.2.7
libphonenumber-7.2.8
101 changes: 55 additions & 46 deletions src/libphonenumber/carrier/data/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,52 +172,61 @@
154 => 86137,
155 => 86138,
156 => 86139,
157 => 86150,
158 => 86151,
159 => 86153,
160 => 86156,
161 => 86157,
162 => 86158,
163 => 86159,
164 => 86176,
165 => 86177,
166 => 86178,
167 => 86180,
168 => 86185,
169 => 86186,
170 => 86187,
171 => 86188,
172 => 86189,
173 => 880,
174 => 90,
175 => 91,
176 => 92,
177 => 93,
178 => 94,
179 => 95,
180 => 960,
181 => 961,
182 => 962,
183 => 964,
184 => 965,
185 => 966,
186 => 967,
187 => 968,
188 => 970,
189 => 971,
190 => 972,
191 => 973,
192 => 974,
193 => 975,
194 => 976,
195 => 977,
196 => 98,
197 => 992,
198 => 993,
199 => 994,
200 => 995,
201 => 996,
202 => 998,
157 => 86145,
158 => 86147,
159 => 86150,
160 => 86151,
161 => 86152,
162 => 86153,
163 => 86155,
164 => 86156,
165 => 86157,
166 => 86158,
167 => 86159,
168 => 86173,
169 => 86176,
170 => 86177,
171 => 86178,
172 => 86180,
173 => 86181,
174 => 86182,
175 => 86183,
176 => 86184,
177 => 86185,
178 => 86186,
179 => 86187,
180 => 86188,
181 => 86189,
182 => 880,
183 => 90,
184 => 91,
185 => 92,
186 => 93,
187 => 94,
188 => 95,
189 => 960,
190 => 961,
191 => 962,
192 => 964,
193 => 965,
194 => 966,
195 => 967,
196 => 968,
197 => 970,
198 => 971,
199 => 972,
200 => 973,
201 => 974,
202 => 975,
203 => 976,
204 => 977,
205 => 98,
206 => 992,
207 => 993,
208 => 994,
209 => 995,
210 => 996,
211 => 998,
),
'ru' =>
array (
Expand Down
1 change: 1 addition & 0 deletions src/libphonenumber/carrier/data/en/252.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
25268 => 'Nationlink',
25269 => 'Nationlink',
25279 => 'Somtel',
252906 => 'Golis Telecom',
252907 => 'Golis Telecom',
25292 => 'STG',
25293 => 'STG',
Expand Down
3 changes: 3 additions & 0 deletions src/libphonenumber/carrier/data/en/254.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@
254790 => 'Safaricom',
254791 => 'Safaricom',
254792 => 'Safaricom',
254795 => 'Safaricom',
254796 => 'Safaricom',
254797 => 'Safaricom',
);
9 changes: 9 additions & 0 deletions src/libphonenumber/carrier/data/en/86145.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
86145 => 'China Unicom',
);
9 changes: 9 additions & 0 deletions src/libphonenumber/carrier/data/en/86147.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
86147 => 'China Mobile',
);
9 changes: 9 additions & 0 deletions src/libphonenumber/carrier/data/en/86152.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
86152 => 'China Mobile',
);
9 changes: 9 additions & 0 deletions src/libphonenumber/carrier/data/en/86155.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
86155 => 'China Unicom',
);
9 changes: 9 additions & 0 deletions src/libphonenumber/carrier/data/en/86173.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
86173 => 'China Telecom',
);
9 changes: 9 additions & 0 deletions src/libphonenumber/carrier/data/en/86181.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
86181 => 'China Telecom',
);
9 changes: 9 additions & 0 deletions src/libphonenumber/carrier/data/en/86182.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
86182 => 'China Mobile',
);
9 changes: 9 additions & 0 deletions src/libphonenumber/carrier/data/en/86183.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
86183 => 'China Mobile',
);
9 changes: 9 additions & 0 deletions src/libphonenumber/carrier/data/en/86184.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
86184 => 'China Mobile',
);
7 changes: 2 additions & 5 deletions src/libphonenumber/data/PhoneNumberMetadata_CL.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@
array (
'NationalNumberPattern' => '
2(?:
1962\\d{4}|
2\\d{7}|
3(?:
20|
22
)\\d{5}|
1962\\d{4}
32[0-2]\\d{5}
)|
(?:
3[2-5]|
Expand Down
49 changes: 37 additions & 12 deletions src/libphonenumber/data/PhoneNumberMetadata_CN.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
)|
4(?:
[15]1|
3[12]
3[1-35]
)|
5(?:
1\\d|
Expand Down Expand Up @@ -95,15 +95,16 @@
2[248]|
3[04-9]|
4[3-6]|
5[0-3689]|
5[0-4689]|
6[2368]|
9[02-9]
)|
8(?:
078|
1[236-8]|
2[5-7]|
3\\d|
5[4-9]|
5[1-9]|
7[02-9]|
8[3678]|
9[1-7]
Expand Down Expand Up @@ -137,7 +138,7 @@
[38]\\d|
4[57]|
5[0-35-9]|
7[06-8]
7[036-8]
)\\d{8}
',
'PossibleNumberPattern' => '\\d{11}',
Expand Down Expand Up @@ -476,7 +477,7 @@
1[236-8]|
2[5-7]|
3|
5[4-9]|
5[1-9]|
7[02-9]|
8[3678]|
9[1-7]
Expand Down Expand Up @@ -506,7 +507,7 @@
)|
4(?:
[15]1|
3[12]
3[1-35]
)|
5(?:
1|
Expand All @@ -532,6 +533,18 @@
'domesticCarrierCodeFormattingRule' => '$CC $1',
),
10 =>
array (
'pattern' => '(\\d{4})(\\d{3})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '807',
1 => '8078',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '$CC $1',
),
11 =>
array (
'pattern' => '(\\d{3})(\\d{4})(\\d{4})',
'format' => '$1 $2 $3',
Expand All @@ -542,7 +555,7 @@
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '$CC $1',
),
11 =>
12 =>
array (
'pattern' => '(10800)(\\d{3})(\\d{4})',
'format' => '$1 $2 $3',
Expand All @@ -555,7 +568,7 @@
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
),
12 =>
13 =>
array (
'pattern' => '(\\d{3})(\\d{7,8})',
'format' => '$1 $2',
Expand Down Expand Up @@ -731,7 +744,7 @@
1[236-8]|
2[5-7]|
3|
5[4-9]|
5[1-9]|
7[02-9]|
8[3678]|
9[1-7]
Expand Down Expand Up @@ -761,7 +774,7 @@
)|
4(?:
[15]1|
3[12]
3[1-35]
)|
5(?:
1|
Expand All @@ -787,6 +800,18 @@
'domesticCarrierCodeFormattingRule' => '$CC $1',
),
8 =>
array (
'pattern' => '(\\d{4})(\\d{3})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '807',
1 => '8078',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '$CC $1',
),
9 =>
array (
'pattern' => '(\\d{3})(\\d{4})(\\d{4})',
'format' => '$1 $2 $3',
Expand All @@ -797,7 +822,7 @@
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '$CC $1',
),
9 =>
10 =>
array (
'pattern' => '(10800)(\\d{3})(\\d{4})',
'format' => '$1 $2 $3',
Expand All @@ -810,7 +835,7 @@
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
),
10 =>
11 =>
array (
'pattern' => '(\\d{3})(\\d{7,8})',
'format' => '$1 $2',
Expand Down
Loading

0 comments on commit 3214f7d

Please sign in to comment.