Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b15c64c

Browse filesBrowse files
committed
[Intl] Blacklist Eurozone and United Nations in Region Data Generator
1 parent 40fff43 commit b15c64c
Copy full SHA for b15c64c

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Intl/Data/Generator/RegionDataGenerator.php
+4Lines 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_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_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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.