8000 [Intl] Blacklist Eurozone and United Nations in Region Data Generator · symfony/symfony@6c0469c · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c0469c

Browse files
committed
[Intl] Blacklist Eurozone and United Nations in Region Data Generator
1 parent 40fff43 commit 6c0469c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Intl/Data/Generator/RegionDataGenerator.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class RegionDataGenerator extends AbstractDataGenerator
3434
const BOUVET_ISLAND_ID = 'BV';
3535
const HEARD_MCDONALD_ISLANDS_ID = 'HM';
3636
const CLIPPERTON_ISLAND_ID = 'CP';
37+
const EUROZONE_UNION_ID = 'EZ';
38+
const UNITED_NATIONS_ID = 'UN';
3739

3840
/**
3941
* Regions excluded from generation.
@@ -43,6 +45,8 @@ class RegionDataGenerator extends AbstractDataGenerator
4345
// Look like countries, but are sub-continents
4446
self::OUTLYING_OCEANIA_REGION_ID => true,
4547
self::EUROPEAN_UNION_ID => true,
48+
self::EUROZONE_UNION_ID => true,
49+
self::UNITED_NATIONS_ID => true,
4650
// No longer exists
4751
self::NETHERLANDS_ANTILLES_ID => true,
4852
// Uninhabited islands

0 commit comments

Comments
 (0)
0