From a47c0518c506b838549fdaed6dafc41d556fff3c Mon Sep 17 00:00:00 2001 From: Pedro Candeias Date: Tue, 12 Nov 2013 16:18:41 +0000 Subject: [PATCH] Replace 'UK' with ISO3166 compliant code 'GB' Lets you use Faker in situations where ISO3166 compliance is expected, such as Symfony2 `country` form fields. --- src/Faker/Provider/Miscellaneous.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Faker/Provider/Miscellaneous.php b/src/Faker/Provider/Miscellaneous.php index 9a56fbe6..3975442d 100644 --- a/src/Faker/Provider/Miscellaneous.php +++ b/src/Faker/Provider/Miscellaneous.php @@ -6,7 +6,7 @@ class Miscellaneous extends \Faker\Provider\Base { protected static $languageCode = array('cn', 'de', 'en', 'es', 'fr', 'it', 'pt', 'ru'); - protected static $countryCode = array('CA', 'CN', 'DE', 'ES', 'FR', 'IE', 'IN', 'IT', 'MX', 'PT', 'RU', 'UK', 'US'); + protected static $countryCode = array('CA', 'CN', 'DE', 'ES', 'FR', 'IE', 'IN', 'IT', 'MX', 'PT', 'RU', 'GB', 'US'); protected static $localeData = array( 'aa_DJ', 'aa_ER', 'aa_ET',