Permalink
Browse files

Added extension to PhoneNumberMetadata

  • Loading branch information...
davideme committed Jul 6, 2012
1 parent d2a3268 commit 33ff3ca95f1675fbc7fac4cb12d3880b5110b351
Showing with 1,705 additions and 1,161 deletions.
  1. BIN .DS_Store
  2. +1 −1 PhoneNumberUtil.php
  3. +1 −1 build/BuildMetadataPHPFromXml.php
  4. BIN data/.DS_Store
  5. +0 −1 data/{PhoneNumberMetadataForTesting_800 → PhoneNumberMetadataForTesting_800.php}
  6. +0 −1 data/{PhoneNumberMetadata_979 → PhoneNumberMetadataForTesting_979.php}
  7. +0 −1 data/{PhoneNumberMetadataForTesting_AD → PhoneNumberMetadataForTesting_AD.php}
  8. +0 −1 data/{PhoneNumberMetadataForTesting_AO → PhoneNumberMetadataForTesting_AO.php}
  9. +0 −1 data/{PhoneNumberMetadataForTesting_AR → PhoneNumberMetadataForTesting_AR.php}
  10. 0 data/{PhoneNumberMetadataForTesting_AU → PhoneNumberMetadataForTesting_AU.php}
  11. +0 −1 data/{PhoneNumberMetadataForTesting_BR → PhoneNumberMetadataForTesting_BR.php}
  12. +0 −1 data/{PhoneNumberMetadataForTesting_BS → PhoneNumberMetadataForTesting_BS.php}
  13. +0 −1 data/{PhoneNumberMetadataForTesting_DE → PhoneNumberMetadataForTesting_DE.php}
  14. +0 −1 data/{PhoneNumberMetadataForTesting_GB → PhoneNumberMetadataForTesting_GB.php}
  15. 0 data/{PhoneNumberMetadataForTesting_IN → PhoneNumberMetadataForTesting_IN.php}
  16. +0 −1 data/{PhoneNumberMetadataForTesting_IT → PhoneNumberMetadataForTesting_IT.php}
  17. +0 −1 data/{PhoneNumberMetadataForTesting_JP → PhoneNumberMetadataForTesting_JP.php}
  18. +0 −1 data/{PhoneNumberMetadataForTesting_KR → PhoneNumberMetadataForTesting_KR.php}
  19. +0 −1 data/{PhoneNumberMetadataForTesting_MX → PhoneNumberMetadataForTesting_MX.php}
  20. +0 −1 data/{PhoneNumberMetadataForTesting_NZ → PhoneNumberMetadataForTesting_NZ.php}
  21. +0 −1 data/{PhoneNumberMetadataForTesting_PL → PhoneNumberMetadataForTesting_PL.php}
  22. +0 −1 data/{PhoneNumberMetadataForTesting_RE → PhoneNumberMetadataForTesting_RE.php}
  23. +0 −1 data/{PhoneNumberMetadataForTesting_SG → PhoneNumberMetadataForTesting_SG.php}
  24. +0 −1 data/{PhoneNumberMetadataForTesting_US → PhoneNumberMetadataForTesting_US.php}
  25. +0 −1 data/{PhoneNumberMetadataForTesting_YT → PhoneNumberMetadataForTesting_YT.php}
  26. +0 −1 data/{PhoneNumberMetadata_800 → PhoneNumberMetadata_800.php}
  27. +0 −1 data/{PhoneNumberMetadata_808 → PhoneNumberMetadata_808.php}
  28. +72 −0 data/PhoneNumberMetadata_870.php
  29. +67 −0 data/PhoneNumberMetadata_878.php
  30. +68 −0 data/PhoneNumberMetadata_881.php
  31. +146 −0 data/PhoneNumberMetadata_882.php
  32. +0 −1 data/{PhoneNumberMetadata_883 → PhoneNumberMetadata_883.php}
  33. +0 −1 data/{PhoneNumberMetadata_888 → PhoneNumberMetadata_888.php}
  34. +67 −0 data/PhoneNumberMetadata_979.php
  35. +3 −4 data/{PhoneNumberMetadata_AC → PhoneNumberMetadata_AC.php}
  36. +0 −1 data/{PhoneNumberMetadata_AD → PhoneNumberMetadata_AD.php}
  37. +2 −3 data/{PhoneNumberMetadata_AE → PhoneNumberMetadata_AE.php}
  38. +0 −1 data/{PhoneNumberMetadata_AF → PhoneNumberMetadata_AF.php}
  39. +0 −1 data/{PhoneNumberMetadata_AG → PhoneNumberMetadata_AG.php}
  40. +0 −1 data/{PhoneNumberMetadata_AI → PhoneNumberMetadata_AI.php}
  41. +0 −1 data/{PhoneNumberMetadata_AL → PhoneNumberMetadata_AL.php}
  42. +7 −4 data/{PhoneNumberMetadata_AM → PhoneNumberMetadata_AM.php}
  43. +4 −5 data/{PhoneNumberMetadata_AN → PhoneNumberMetadata_AN.php}
  44. +1 −2 data/{PhoneNumberMetadata_AO → PhoneNumberMetadata_AO.php}
  45. +85 −57 data/{PhoneNumberMetadata_AR → PhoneNumberMetadata_AR.php}
  46. +0 −1 data/{PhoneNumberMetadata_AS → PhoneNumberMetadata_AS.php}
  47. +1 −2 data/{PhoneNumberMetadata_AT → PhoneNumberMetadata_AT.php}
  48. 0 data/{PhoneNumberMetadata_AU → PhoneNumberMetadata_AU.php}
  49. +0 −1 data/{PhoneNumberMetadata_AW → PhoneNumberMetadata_AW.php}
  50. +0 −1 data/{PhoneNumberMetadata_AX → PhoneNumberMetadata_AX.php}
  51. +0 −197 data/PhoneNumberMetadata_AZ
  52. +121 −0 data/PhoneNumberMetadata_AZ.php
  53. +0 −1 data/{PhoneNumberMetadata_BA → PhoneNumberMetadata_BA.php}
  54. +0 −1 data/{PhoneNumberMetadata_BB → PhoneNumberMetadata_BB.php}
  55. 0 data/{PhoneNumberMetadata_BD → PhoneNumberMetadata_BD.php}
  56. +2 −4 data/{PhoneNumberMetadata_BE → PhoneNumberMetadata_BE.php}
  57. +6 −3 data/{PhoneNumberMetadata_BF → PhoneNumberMetadata_BF.php}
  58. +0 −1 data/{PhoneNumberMetadata_BG → PhoneNumberMetadata_BG.php}
  59. +1 −1 data/{PhoneNumberMetadata_BH → PhoneNumberMetadata_BH.php}
  60. +0 −1 data/{PhoneNumberMetadata_BI → PhoneNumberMetadata_BI.php}
  61. +0 −1 data/{PhoneNumberMetadata_BJ → PhoneNumberMetadata_BJ.php}
  62. +0 −1 data/{PhoneNumberMetadata_BL → PhoneNumberMetadata_BL.php}
  63. +0 −1 data/{PhoneNumberMetadata_BM → PhoneNumberMetadata_BM.php}
  64. +0 −1 data/{PhoneNumberMetadata_BN → PhoneNumberMetadata_BN.php}
  65. +0 −1 data/{PhoneNumberMetadata_BO → PhoneNumberMetadata_BO.php}
  66. +0 −1 data/{PhoneNumberMetadata_BQ → PhoneNumberMetadata_BQ.php}
  67. +26 −12 data/{PhoneNumberMetadata_BR → PhoneNumberMetadata_BR.php}
  68. +0 −1 data/{PhoneNumberMetadata_BS → PhoneNumberMetadata_BS.php}
  69. +0 −1 data/{PhoneNumberMetadata_BT → PhoneNumberMetadata_BT.php}
  70. +0 −1 data/{PhoneNumberMetadata_BW → PhoneNumberMetadata_BW.php}
  71. +1 −1 data/{PhoneNumberMetadata_BY → PhoneNumberMetadata_BY.php}
  72. +1 −7 data/{PhoneNumberMetadata_BZ → PhoneNumberMetadata_BZ.php}
  73. +4 −3 data/{PhoneNumberMetadata_CA → PhoneNumberMetadata_CA.php}
  74. 0 data/{PhoneNumberMetadata_CC → PhoneNumberMetadata_CC.php}
  75. +25 −10 data/{PhoneNumberMetadata_CD → PhoneNumberMetadata_CD.php}
  76. +0 −1 data/{PhoneNumberMetadata_CF → PhoneNumberMetadata_CF.php}
  77. +0 −1 data/{PhoneNumberMetadata_CG → PhoneNumberMetadata_CG.php}
  78. +0 −1 data/{PhoneNumberMetadata_CH → PhoneNumberMetadata_CH.php}
  79. +1 −2 data/{PhoneNumberMetadata_CI → PhoneNumberMetadata_CI.php}
  80. +0 −1 data/{PhoneNumberMetadata_CK → PhoneNumberMetadata_CK.php}
  81. +0 −1 data/{PhoneNumberMetadata_CL → PhoneNumberMetadata_CL.php}
  82. +0 −1 data/{PhoneNumberMetadata_CM → PhoneNumberMetadata_CM.php}
  83. +0 −1 data/{PhoneNumberMetadata_CN → PhoneNumberMetadata_CN.php}
  84. +0 −1 data/{PhoneNumberMetadata_CO → PhoneNumberMetadata_CO.php}
  85. +2 −3 data/{PhoneNumberMetadata_CR → PhoneNumberMetadata_CR.php}
  86. +4 −3 data/{PhoneNumberMetadata_CU → PhoneNumberMetadata_CU.php}
  87. +0 −1 data/{PhoneNumberMetadata_CV → PhoneNumberMetadata_CV.php}
  88. +0 −1 data/{PhoneNumberMetadata_CW → PhoneNumberMetadata_CW.php}
  89. 0 data/{PhoneNumberMetadata_CX → PhoneNumberMetadata_CX.php}
  90. +0 −1 data/{PhoneNumberMetadata_CY → PhoneNumberMetadata_CY.php}
  91. +37 −9 data/{PhoneNumberMetadata_CZ → PhoneNumberMetadata_CZ.php}
  92. +48 −5 data/{PhoneNumberMetadata_DE → PhoneNumberMetadata_DE.php}
  93. +0 −87 data/PhoneNumberMetadata_DJ
  94. +72 −0 data/PhoneNumberMetadata_DJ.php
  95. +2 −3 data/{PhoneNumberMetadata_DK → PhoneNumberMetadata_DK.php}
  96. +0 −1 data/{PhoneNumberMetadata_DM → PhoneNumberMetadata_DM.php}
  97. +0 −1 data/{PhoneNumberMetadata_DO → PhoneNumberMetadata_DO.php}
  98. +0 −1 data/{PhoneNumberMetadata_DZ → PhoneNumberMetadata_DZ.php}
  99. +0 −1 data/{PhoneNumberMetadata_EC → PhoneNumberMetadata_EC.php}
  100. +8 −5 data/{PhoneNumberMetadata_EE → PhoneNumberMetadata_EE.php}
  101. +30 −45 data/{PhoneNumberMetadata_EG → PhoneNumberMetadata_EG.php}
  102. +0 −1 data/{PhoneNumberMetadata_ER → PhoneNumberMetadata_ER.php}
  103. +42 −17 data/{PhoneNumberMetadata_ES → PhoneNumberMetadata_ES.php}
  104. +7 −3 data/{PhoneNumberMetadata_ET → PhoneNumberMetadata_ET.php}
  105. +0 −1 data/{PhoneNumberMetadata_FI → PhoneNumberMetadata_FI.php}
  106. 0 data/{PhoneNumberMetadata_FJ → PhoneNumberMetadata_FJ.php}
  107. +0 −1 data/{PhoneNumberMetadata_FK → PhoneNumberMetadata_FK.php}
  108. +0 −1 data/{PhoneNumberMetadata_FM → PhoneNumberMetadata_FM.php}
  109. +0 −1 data/{PhoneNumberMetadata_FO → PhoneNumberMetadata_FO.php}
  110. 0 data/{PhoneNumberMetadata_FR → PhoneNumberMetadata_FR.php}
  111. +1 −2 data/{PhoneNumberMetadata_GA → PhoneNumberMetadata_GA.php}
  112. +7 −7 data/{PhoneNumberMetadata_GB → PhoneNumberMetadata_GB.php}
  113. +0 −1 data/{PhoneNumberMetadata_GD → PhoneNumberMetadata_GD.php}
  114. 0 data/{PhoneNumberMetadata_GE → PhoneNumberMetadata_GE.php}
  115. +0 −1 data/{PhoneNumberMetadata_GF → PhoneNumberMetadata_GF.php}
  116. +0 −1 data/{PhoneNumberMetadata_GG → PhoneNumberMetadata_GG.php}
  117. +27 −12 data/{PhoneNumberMetadata_GH → PhoneNumberMetadata_GH.php}
  118. +0 −1 data/{PhoneNumberMetadata_GI → PhoneNumberMetadata_GI.php}
  119. +0 −1 data/{PhoneNumberMetadata_GL → PhoneNumberMetadata_GL.php}
  120. +7 −3 data/{PhoneNumberMetadata_GM → PhoneNumberMetadata_GM.php}
  121. +21 −6 data/{PhoneNumberMetadata_GN → PhoneNumberMetadata_GN.php}
  122. +0 −1 data/{PhoneNumberMetadata_GP → PhoneNumberMetadata_GP.php}
  123. +0 −1 data/{PhoneNumberMetadata_GQ → PhoneNumberMetadata_GQ.php}
  124. +0 −1 data/{PhoneNumberMetadata_GR → PhoneNumberMetadata_GR.php}
  125. +0 −1 data/{PhoneNumberMetadata_GT → PhoneNumberMetadata_GT.php}
  126. +0 −1 data/{PhoneNumberMetadata_GU → PhoneNumberMetadata_GU.php}
  127. +0 −1 data/{PhoneNumberMetadata_GW → PhoneNumberMetadata_GW.php}
  128. +0 −1 data/{PhoneNumberMetadata_GY → PhoneNumberMetadata_GY.php}
  129. +36 −7 data/{PhoneNumberMetadata_HK → PhoneNumberMetadata_HK.php}
  130. +2 −2 data/{PhoneNumberMetadata_HN → PhoneNumberMetadata_HN.php}
  131. +0 −1 data/{PhoneNumberMetadata_HR → PhoneNumberMetadata_HR.php}
  132. +0 −1 data/{PhoneNumberMetadata_HT → PhoneNumberMetadata_HT.php}
  133. +0 −1 data/{PhoneNumberMetadata_HU → PhoneNumberMetadata_HU.php}
  134. +86 −5 data/{PhoneNumberMetadata_ID → PhoneNumberMetadata_ID.php}
  135. +0 −1 data/{PhoneNumberMetadata_IE → PhoneNumberMetadata_IE.php}
  136. +1 −2 data/{PhoneNumberMetadata_IL → PhoneNumberMetadata_IL.php}
  137. +0 −1 data/{PhoneNumberMetadata_IM → PhoneNumberMetadata_IM.php}
  138. +51 −51 data/{PhoneNumberMetadata_IN → PhoneNumberMetadata_IN.php}
  139. +0 −1 data/{PhoneNumberMetadata_IO → PhoneNumberMetadata_IO.php}
  140. +0 −1 data/{PhoneNumberMetadata_IQ → PhoneNumberMetadata_IQ.php}
  141. +19 −6 data/{PhoneNumberMetadata_IR → PhoneNumberMetadata_IR.php}
  142. +5 −7 data/{PhoneNumberMetadata_IS → PhoneNumberMetadata_IS.php}
  143. +3 −4 data/{PhoneNumberMetadata_IT → PhoneNumberMetadata_IT.php}
  144. +0 −1 data/{PhoneNumberMetadata_JE → PhoneNumberMetadata_JE.php}
  145. +0 −1 data/{PhoneNumberMetadata_JM → PhoneNumberMetadata_JM.php}
  146. +66 −8 data/{PhoneNumberMetadata_JO → PhoneNumberMetadata_JO.php}
  147. +7 −8 data/{PhoneNumberMetadata_JP → PhoneNumberMetadata_JP.php}
  148. +23 −21 data/{PhoneNumberMetadata_KE → PhoneNumberMetadata_KE.php}
  149. +1 −2 data/{PhoneNumberMetadata_KG → PhoneNumberMetadata_KG.php}
  150. +7 −5 data/{PhoneNumberMetadata_KH → PhoneNumberMetadata_KH.php}
  151. +0 −1 data/{PhoneNumberMetadata_KI → PhoneNumberMetadata_KI.php}
  152. +0 −1 data/{PhoneNumberMetadata_KM → PhoneNumberMetadata_KM.php}
  153. +0 −1 data/{PhoneNumberMetadata_KN → PhoneNumberMetadata_KN.php}
  154. +0 −1 data/{PhoneNumberMetadata_KP → PhoneNumberMetadata_KP.php}
  155. +20 −10 data/{PhoneNumberMetadata_KR → PhoneNumberMetadata_KR.php}
  156. +12 −27 data/{PhoneNumberMetadata_KW → PhoneNumberMetadata_KW.php}
  157. +9 −9 data/{PhoneNumberMetadata_KY → PhoneNumberMetadata_KY.php}
  158. 0 data/{PhoneNumberMetadata_KZ → PhoneNumberMetadata_KZ.php}
  159. +9 −8 data/{PhoneNumberMetadata_LA → PhoneNumberMetadata_LA.php}
  160. +10 −7 data/{PhoneNumberMetadata_LB → PhoneNumberMetadata_LB.php}
  161. +3 −2 data/{PhoneNumberMetadata_LC → PhoneNumberMetadata_LC.php}
  162. +48 −31 data/{PhoneNumberMetadata_LI → PhoneNumberMetadata_LI.php}
  163. +0 −1 data/{PhoneNumberMetadata_LK → PhoneNumberMetadata_LK.php}
  164. +1 −2 data/{PhoneNumberMetadata_LR → PhoneNumberMetadata_LR.php}
  165. +0 −1 data/{PhoneNumberMetadata_LS → PhoneNumberMetadata_LS.php}
  166. +0 −1 data/{PhoneNumberMetadata_LT → PhoneNumberMetadata_LT.php}
  167. +2 −3 data/{PhoneNumberMetadata_LU → PhoneNumberMetadata_LU.php}
  168. +0 −1 data/{PhoneNumberMetadata_LV → PhoneNumberMetadata_LV.php}
  169. +0 −1 data/{PhoneNumberMetadata_LY → PhoneNumberMetadata_LY.php}
  170. +4 −4 data/{PhoneNumberMetadata_MA → PhoneNumberMetadata_MA.php}
  171. +0 −1 data/{PhoneNumberMetadata_MC → PhoneNumberMetadata_MC.php}
  172. +8 −6 data/{PhoneNumberMetadata_MD → PhoneNumberMetadata_MD.php}
  173. +0 −1 data/{PhoneNumberMetadata_ME → PhoneNumberMetadata_ME.php}
  174. +0 −1 data/{PhoneNumberMetadata_MF → PhoneNumberMetadata_MF.php}
  175. +0 −1 data/{PhoneNumberMetadata_MG → PhoneNumberMetadata_MG.php}
  176. +0 −1 data/{PhoneNumberMetadata_MH → PhoneNumberMetadata_MH.php}
  177. +6 −3 data/{PhoneNumberMetadata_MK → PhoneNumberMetadata_MK.php}
  178. +0 −1 data/{PhoneNumberMetadata_ML → PhoneNumberMetadata_ML.php}
  179. +26 −6 data/{PhoneNumberMetadata_MM → PhoneNumberMetadata_MM.php}
  180. +3 −7 data/{PhoneNumberMetadata_MN → PhoneNumberMetadata_MN.php}
  181. +0 −1 data/{PhoneNumberMetadata_MO → PhoneNumberMetadata_MO.php}
  182. +0 −1 data/{PhoneNumberMetadata_MP → PhoneNumberMetadata_MP.php}
  183. +0 −1 data/{PhoneNumberMetadata_MQ → PhoneNumberMetadata_MQ.php}
  184. +0 −1 data/{PhoneNumberMetadata_MR → PhoneNumberMetadata_MR.php}
  185. +1 −2 data/{PhoneNumberMetadata_MS → PhoneNumberMetadata_MS.php}
  186. +0 −1 data/{PhoneNumberMetadata_MT → PhoneNumberMetadata_MT.php}
  187. 0 data/{PhoneNumberMetadata_MU → PhoneNumberMetadata_MU.php}
  188. 0 data/{PhoneNumberMetadata_MV → PhoneNumberMetadata_MV.php}
  189. +0 −1 data/{PhoneNumberMetadata_MW → PhoneNumberMetadata_MW.php}
  190. +0 −1 data/{PhoneNumberMetadata_MX → PhoneNumberMetadata_MX.php}
  191. +0 −1 data/{PhoneNumberMetadata_MY → PhoneNumberMetadata_MY.php}
  192. +0 −1 data/{PhoneNumberMetadata_MZ → PhoneNumberMetadata_MZ.php}
  193. +1 −2 data/{PhoneNumberMetadata_NA → PhoneNumberMetadata_NA.php}
  194. +0 −1 data/{PhoneNumberMetadata_NC → PhoneNumberMetadata_NC.php}
  195. +1 −2 data/{PhoneNumberMetadata_NE → PhoneNumberMetadata_NE.php}
  196. +0 −1 data/{PhoneNumberMetadata_NF → PhoneNumberMetadata_NF.php}
  197. +0 −1 data/{PhoneNumberMetadata_NG → PhoneNumberMetadata_NG.php}
  198. +0 −1 data/{PhoneNumberMetadata_NI → PhoneNumberMetadata_NI.php}
  199. +0 −1 data/{PhoneNumberMetadata_NL → PhoneNumberMetadata_NL.php}
  200. +1 −1 data/{PhoneNumberMetadata_NO → PhoneNumberMetadata_NO.php}
  201. +0 −1 data/{PhoneNumberMetadata_NP → PhoneNumberMetadata_NP.php}
  202. +0 −1 data/{PhoneNumberMetadata_NR → PhoneNumberMetadata_NR.php}
  203. +0 −1 data/{PhoneNumberMetadata_NU → PhoneNumberMetadata_NU.php}
  204. +28 −19 data/{PhoneNumberMetadata_NZ → PhoneNumberMetadata_NZ.php}
  205. +0 −1 data/{PhoneNumberMetadata_OM → PhoneNumberMetadata_OM.php}
  206. +13 −15 data/{PhoneNumberMetadata_PA → PhoneNumberMetadata_PA.php}
  207. +0 −1 data/{PhoneNumberMetadata_PE → PhoneNumberMetadata_PE.php}
  208. +0 −1 data/{PhoneNumberMetadata_PF → PhoneNumberMetadata_PF.php}
  209. +0 −1 data/{PhoneNumberMetadata_PG → PhoneNumberMetadata_PG.php}
  210. +0 −1 data/{PhoneNumberMetadata_PH → PhoneNumberMetadata_PH.php}
  211. +2 −3 data/{PhoneNumberMetadata_PK → PhoneNumberMetadata_PK.php}
  212. +0 −1 data/{PhoneNumberMetadata_PL → PhoneNumberMetadata_PL.php}
  213. +0 −1 data/{PhoneNumberMetadata_PM → PhoneNumberMetadata_PM.php}
  214. +0 −1 data/{PhoneNumberMetadata_PR → PhoneNumberMetadata_PR.php}
  215. +0 −1 data/{PhoneNumberMetadata_PS → PhoneNumberMetadata_PS.php}
  216. +0 −1 data/{PhoneNumberMetadata_PT → PhoneNumberMetadata_PT.php}
  217. +0 −1 data/{PhoneNumberMetadata_PW → PhoneNumberMetadata_PW.php}
  218. +0 −1 data/{PhoneNumberMetadata_PY → PhoneNumberMetadata_PY.php}
  219. +1 −2 data/{PhoneNumberMetadata_QA → PhoneNumberMetadata_QA.php}
  220. +0 −1 data/{PhoneNumberMetadata_RE → PhoneNumberMetadata_RE.php}
  221. +42 −6 data/{PhoneNumberMetadata_RO → PhoneNumberMetadata_RO.php}
  222. +0 −1 data/{PhoneNumberMetadata_RS → PhoneNumberMetadata_RS.php}
  223. 0 data/{PhoneNumberMetadata_RU → PhoneNumberMetadata_RU.php}
  224. +0 −1 data/{PhoneNumberMetadata_RW → PhoneNumberMetadata_RW.php}
  225. +16 −17 data/{PhoneNumberMetadata_SA → PhoneNumberMetadata_SA.php}
  226. +3 −3 data/{PhoneNumberMetadata_SB → PhoneNumberMetadata_SB.php}
  227. +2 −29 data/{PhoneNumberMetadata_SC → PhoneNumberMetadata_SC.php}
  228. +0 −1 data/{PhoneNumberMetadata_SD → PhoneNumberMetadata_SD.php}
  229. +1 −2 data/{PhoneNumberMetadata_SE → PhoneNumberMetadata_SE.php}
  230. +2 −3 data/{PhoneNumberMetadata_SG → PhoneNumberMetadata_SG.php}
  231. +0 −1 data/{PhoneNumberMetadata_SH → PhoneNumberMetadata_SH.php}
  232. +5 −6 data/{PhoneNumberMetadata_SI → PhoneNumberMetadata_SI.php}
  233. +1 −1 data/{PhoneNumberMetadata_SJ → PhoneNumberMetadata_SJ.php}
  234. +0 −1 data/{PhoneNumberMetadata_SK → PhoneNumberMetadata_SK.php}
  235. +2 −3 data/{PhoneNumberMetadata_SL → PhoneNumberMetadata_SL.php}
  236. +0 −1 data/{PhoneNumberMetadata_SM → PhoneNumberMetadata_SM.php}
  237. +1 −3 data/{PhoneNumberMetadata_SN → PhoneNumberMetadata_SN.php}
  238. +24 −24 data/{PhoneNumberMetadata_SO → PhoneNumberMetadata_SO.php}
  239. +0 −1 data/{PhoneNumberMetadata_SR → PhoneNumberMetadata_SR.php}
  240. +6 −23 data/{PhoneNumberMetadata_SS → PhoneNumberMetadata_SS.php}
  241. +0 −1 data/{PhoneNumberMetadata_ST → PhoneNumberMetadata_ST.php}
  242. +0 −1 data/{PhoneNumberMetadata_SV → PhoneNumberMetadata_SV.php}
  243. +4 −4 data/{PhoneNumberMetadata_SX → PhoneNumberMetadata_SX.php}
  244. +7 −7 data/{PhoneNumberMetadata_SY → PhoneNumberMetadata_SY.php}
  245. +0 −1 data/{PhoneNumberMetadata_SZ → PhoneNumberMetadata_SZ.php}
  246. +3 −4 data/{PhoneNumberMetadata_TC → PhoneNumberMetadata_TC.php}
  247. 0 data/{PhoneNumberMetadata_TD → PhoneNumberMetadata_TD.php}
  248. +0 −1 data/{PhoneNumberMetadata_TG → PhoneNumberMetadata_TG.php}
  249. +2 −14 data/{PhoneNumberMetadata_TH → PhoneNumberMetadata_TH.php}
  250. 0 data/{PhoneNumberMetadata_TJ → PhoneNumberMetadata_TJ.php}
  251. +0 −1 data/{PhoneNumberMetadata_TK → PhoneNumberMetadata_TK.php}
  252. +1 −2 data/{PhoneNumberMetadata_TL → PhoneNumberMetadata_TL.php}
  253. 0 data/{PhoneNumberMetadata_TM → PhoneNumberMetadata_TM.php}
  254. +10 −7 data/{PhoneNumberMetadata_TN → PhoneNumberMetadata_TN.php}
  255. +0 −1 data/{PhoneNumberMetadata_TO → PhoneNumberMetadata_TO.php}
  256. +0 −1 data/{PhoneNumberMetadata_TR → PhoneNumberMetadata_TR.php}
  257. +0 −1 data/{PhoneNumberMetadata_TT → PhoneNumberMetadata_TT.php}
  258. +0 −1 data/{PhoneNumberMetadata_TV → PhoneNumberMetadata_TV.php}
  259. +0 −1 data/{PhoneNumberMetadata_TW → PhoneNumberMetadata_TW.php}
  260. +0 −1 data/{PhoneNumberMetadata_TZ → PhoneNumberMetadata_TZ.php}
  261. 0 data/{PhoneNumberMetadata_UA → PhoneNumberMetadata_UA.php}
  262. +0 −1 data/{PhoneNumberMetadata_UG → PhoneNumberMetadata_UG.php}
  263. +0 −1 data/{PhoneNumberMetadata_US → PhoneNumberMetadata_US.php}
  264. 0 data/{PhoneNumberMetadata_UY → PhoneNumberMetadata_UY.php}
  265. +2 −1 data/{PhoneNumberMetadata_UZ → PhoneNumberMetadata_UZ.php}
  266. +0 −1 data/{PhoneNumberMetadata_VA → PhoneNumberMetadata_VA.php}
  267. +0 −1 data/{PhoneNumberMetadata_VC → PhoneNumberMetadata_VC.php}
  268. +0 −1 data/{PhoneNumberMetadata_VE → PhoneNumberMetadata_VE.php}
  269. +0 −1 data/{PhoneNumberMetadata_VG → PhoneNumberMetadata_VG.php}
  270. +0 −1 data/{PhoneNumberMetadata_VI → PhoneNumberMetadata_VI.php}
  271. +1 −2 data/{PhoneNumberMetadata_VN → PhoneNumberMetadata_VN.php}
  272. +0 −1 data/{PhoneNumberMetadata_VU → PhoneNumberMetadata_VU.php}
  273. +0 −1 data/{PhoneNumberMetadata_WF → PhoneNumberMetadata_WF.php}
  274. +0 −1 data/{PhoneNumberMetadata_WS → PhoneNumberMetadata_WS.php}
  275. +0 −1 data/{PhoneNumberMetadata_YE → PhoneNumberMetadata_YE.php}
  276. +0 −1 data/{PhoneNumberMetadata_YT → PhoneNumberMetadata_YT.php}
  277. +0 −1 data/{PhoneNumberMetadata_ZA → PhoneNumberMetadata_ZA.php}
  278. +0 −1 data/{PhoneNumberMetadata_ZM → PhoneNumberMetadata_ZM.php}
  279. +26 −10 data/{PhoneNumberMetadata_ZW → PhoneNumberMetadata_ZW.php}
View
BIN .DS_Store
Binary file not shown.
View
@@ -2170,7 +2170,7 @@ public function getNumberType(PhoneNumber $number) {
private function loadMetadataFromFile($filePrefix, $regionCode, $countryCallingCode) {
$isNonGeoRegion = self::REGION_CODE_FOR_NON_GEO_ENTITY === $regionCode;
- $source = $isNonGeoRegion ? $filePrefix . "_" . $countryCallingCode : $filePrefix . "_" . $regionCode;
+ $source = $isNonGeoRegion ? $filePrefix . "_" . $countryCallingCode . '.php' : $filePrefix . "_" . $regionCode . '.php';
if (is_readable($source)) {
$data = include $source;
$metadata = new PhoneMetadata();
@@ -72,7 +72,7 @@ public function start($argc, $argv) {
}
$data = '<?php' . PHP_EOL . 'return ' . var_export($metadata->toArray(), TRUE) . ';';
- file_put_contents($filePrefix . "_" . $regionCode, $data);
+ file_put_contents($filePrefix . "_" . $regionCode . '.php', $data);
}
/*
View
Binary file not shown.
@@ -45,7 +45,6 @@
'id' => '001',
'countryCode' => 800,
'internationalPrefix' => '',
- 'preferredInternationalPrefix' => '',
'sameMobileAndFixedLinePattern' => true,
'numberFormat' =>
array (
@@ -45,7 +45,6 @@
'id' => '001',
'countryCode' => 979,
'internationalPrefix' => '',
- 'preferredInternationalPrefix' => '',
'sameMobileAndFixedLinePattern' => true,
'numberFormat' =>
array (
@@ -45,7 +45,6 @@
'id' => 'AD',
'countryCode' => 376,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'sameMobileAndFixedLinePattern' => true,
'numberFormat' =>
array (
@@ -45,7 +45,6 @@
'id' => 'AO',
'countryCode' => 244,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0~0',
'nationalPrefixForParsing' => '0~0',
'sameMobileAndFixedLinePattern' => false,
@@ -45,7 +45,6 @@
'id' => 'AR',
'countryCode' => 54,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0(?:(11|343|3715)15)?',
'nationalPrefixTransformRule' => '9$1',
@@ -45,7 +45,6 @@
'id' => 'BR',
'countryCode' => 55,
'internationalPrefix' => '0014',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0',
'sameMobileAndFixedLinePattern' => true,
@@ -45,7 +45,6 @@
'id' => 'BS',
'countryCode' => 1,
'internationalPrefix' => '011',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '1',
'nationalPrefixForParsing' => '1',
'sameMobileAndFixedLinePattern' => false,
@@ -45,7 +45,6 @@
'id' => 'DE',
'countryCode' => 49,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0',
'sameMobileAndFixedLinePattern' => false,
@@ -45,7 +45,6 @@
'id' => 'GB',
'countryCode' => 44,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0',
'sameMobileAndFixedLinePattern' => false,
@@ -45,7 +45,6 @@
'id' => 'IT',
'countryCode' => 39,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
array (
@@ -45,7 +45,6 @@
'id' => 'JP',
'countryCode' => 81,
'internationalPrefix' => '010',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0',
'sameMobileAndFixedLinePattern' => true,
@@ -45,7 +45,6 @@
'id' => 'KR',
'countryCode' => 82,
'internationalPrefix' => '00(?:[124-68]|[37]\\d{2})',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0(8[1-46-8]|85\\d{2})?',
'sameMobileAndFixedLinePattern' => false,
@@ -45,7 +45,6 @@
'id' => 'MX',
'countryCode' => 52,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '01',
'nationalPrefixForParsing' => '01|04[45](\\d{10})',
'nationalPrefixTransformRule' => '1$1',
@@ -48,7 +48,6 @@
'id' => 'NZ',
'countryCode' => 64,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0',
'sameMobileAndFixedLinePattern' => false,
@@ -45,7 +45,6 @@
'id' => 'PL',
'countryCode' => 48,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0',
'sameMobileAndFixedLinePattern' => false,
@@ -45,7 +45,6 @@
'id' => 'RE',
'countryCode' => 262,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0',
'sameMobileAndFixedLinePattern' => false,
@@ -48,7 +48,6 @@
'id' => 'SG',
'countryCode' => 65,
'internationalPrefix' => '0[0-3][0-9]',
- 'preferredInternationalPrefix' => '',
'nationalPrefixForParsing' => '777777',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
@@ -45,7 +45,6 @@
'id' => 'US',
'countryCode' => 1,
'internationalPrefix' => '011',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '1',
'preferredExtnPrefix' => ' extn. ',
'nationalPrefixForParsing' => '1',
@@ -45,7 +45,6 @@
'id' => 'YT',
'countryCode' => 262,
'internationalPrefix' => '00',
- 'preferredInternationalPrefix' => '',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '0',
'sameMobileAndFixedLinePattern' => false,
@@ -45,7 +45,6 @@
'id' => '001',
'countryCode' => 800,
'internationalPrefix' => '',
- 'preferredInternationalPrefix' => '',
'sameMobileAndFixedLinePattern' => true,
'numberFormat' =>
array (
@@ -45,7 +45,6 @@
'id' => '001',
'countryCode' => 808,
'internationalPrefix' => '',
- 'preferredInternationalPrefix' => '',
'sameMobileAndFixedLinePattern' => true,
'numberFormat' =>
array (
@@ -0,0 +1,72 @@
+<?php
+return array (
+ 'generalDesc' =>
+ array (
+ 'NationalNumberPattern' => '[35-7]\\d{8}',
+ 'PossibleNumberPattern' => '\\d{9}',
+ 'ExampleNumber' => '301234567',
+ ),
+ 'fixedLine' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '301234567',
+ ),
+ 'mobile' =>
+ array (
+ 'NationalNumberPattern' => '
+ (?:
+ [356]\\d|
+ 7[6-8]
+ )\\d{7}
+ ',
+ 'PossibleNumberPattern' => '\\d{9}',
+ 'ExampleNumber' => '301234567',
+ ),
+ 'tollFree' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'premiumRate' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'sharedCost' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'noInternationalDialling' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'id' => '001',
+ 'countryCode' => 870,
+ 'internationalPrefix' => '',
+ 'sameMobileAndFixedLinePattern' => false,
+ 'numberFormat' =>
+ array (
+ 0 =>
+ array (
+ 'pattern' => '(\\d{3})(\\d{3})(\\d{3})',
+ 'format' => '$1 $2 $3',
+ 'leadingDigitsPatterns' =>
+ array (
+ ),
+ 'nationalPrefixFormattingRule' => '',
+ 'domesticCarrierCodeFormattingRule' => '',
+ ),
+ ),
+ 'intlNumberFormat' =>
+ array (
+ ),
+ 'mainCountryForCode' => NULL,
+ 'leadingZeroPossible' => NULL,
+);
@@ -0,0 +1,67 @@
+<?php
+return array (
+ 'generalDesc' =>
+ array (
+ 'NationalNumberPattern' => '1\\d{11}',
+ 'PossibleNumberPattern' => '\\d{12}',
+ 'ExampleNumber' => '101234567890',
+ ),
+ 'fixedLine' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '101234567890',
+ ),
+ 'mobile' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '101234567890',
+ ),
+ 'tollFree' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'premiumRate' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'sharedCost' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'noInternationalDialling' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'id' => '001',
+ 'countryCode' => 878,
+ 'internationalPrefix' => '',
+ 'sameMobileAndFixedLinePattern' => true,
+ 'numberFormat' =>
+ array (
+ 0 =>
+ array (
+ 'pattern' => '(\\d{2})(\\d{5})(\\d{5})',
+ 'format' => '$1 $2 $3',
+ 'leadingDigitsPatterns' =>
+ array (
+ ),
+ 'nationalPrefixFormattingRule' => '',
+ 'domesticCarrierCodeFormattingRule' => '',
+ ),
+ ),
+ 'intlNumberFormat' =>
+ array (
+ ),
+ 'mainCountryForCode' => NULL,
+ 'leadingZeroPossible' => NULL,
+);
@@ -0,0 +1,68 @@
+<?php
+return array (
+ 'generalDesc' =>
+ array (
+ 'NationalNumberPattern' => '[67]\\d{8}',
+ 'PossibleNumberPattern' => '\\d{9}',
+ 'ExampleNumber' => '612345678',
+ ),
+ 'fixedLine' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '612345678',
+ ),
+ 'mobile' =>
+ array (
+ 'NationalNumberPattern' => '[67]\\d{8}',
+ 'PossibleNumberPattern' => '\\d{9}',
+ 'ExampleNumber' => '612345678',
+ ),
+ 'tollFree' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'premiumRate' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'sharedCost' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'noInternationalDialling' =>
+ array (
+ 'NationalNumberPattern' => 'NA',
+ 'PossibleNumberPattern' => 'NA',
+ 'ExampleNumber' => '',
+ ),
+ 'id' => '001',
+ 'countryCode' => 881,
+ 'internationalPrefix' => '',
+ 'sameMobileAndFixedLinePattern' => false,
+ 'numberFormat' =>
+ array (
+ 0 =>
+ array (
+ 'pattern' => '(\\d)(\\d{3})(\\d{5})',
+ 'format' => '$1 $2 $3',
+ 'leadingDigitsPatterns' =>
+ array (
+ 0 => '[67]',
+ ),
+ 'nationalPrefixFormattingRule' => '',
+ 'domesticCarrierCodeFormattingRule' => '',
+ ),
+ ),
+ 'intlNumberFormat' =>
+ array (
+ ),
+ 'mainCountryForCode' => NULL,
+ 'leadingZeroPossible' => NULL,
+);
Oops, something went wrong.

0 comments on commit 33ff3ca

Please sign in to comment.