Skip to content

Commit 6a45480

Browse files
authored
Merge pull request #2 from smreichling/add-ee-lt-lv
Moving Estonia, Lithuania, and Latvia to the euro
2 parents 40260c5 + 310b994 commit 6a45480

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

ISO4217.php

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,8 @@ protected function create(array $currency)
414414
'alpha3' => 'EUR',
415415
'numeric' => '978',
416416
'exp' => 2,
417-
'country' => array('AD', 'AT', 'AX', 'BE', 'BL', 'CY', 'DE', 'ES', 'FI', 'FR', 'GF', 'GP', 'GR', 'IE', 'IT', 'LU', 'MC',
418-
'ME', 'MF', 'MQ', 'MT', 'NL', 'PM', 'PT', 'RE', 'SI', 'SK', 'SM', 'TF', 'VA', 'YT', 'ZW'),
417+
'country' => array('AD', 'AT', 'AX', 'BE', 'BL', 'CY', 'DE', 'EE', 'ES', 'FI', 'FR', 'GF', 'GP', 'GR', 'IE', 'IT', 'LT',
418+
'LU', 'LV', 'MC', 'ME', 'MF', 'MQ', 'MT', 'NL', 'PM', 'PT', 'RE', 'SI', 'SK', 'SM', 'TF', 'VA', 'YT', 'ZW'),
419419
),
420420
array(
421421
'name' => 'Fiji Dollar',
@@ -684,20 +684,6 @@ protected function create(array $currency)
684684
'exp' => 2,
685685
'country' => 'LS',
686686
),
687-
array(
688-
'name' => 'Lithuanian Litas',
689-
'alpha3' => 'LTL',
690-
'numeric' => '440',
691-
'exp' => 2,
692-
'country' => 'LT',
693-
),
694-
array(
695-
'name' => 'Latvian Lats',
696-
'alpha3' => 'LVL',
697-
'numeric' => '428',
698-
'exp' => 2,
699-
'country' => 'LV',
700-
),
701687
array(
702688
'name' => 'Libyan Dinar',
703689
'alpha3' => 'LYD',

ISO4217Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function testFindAll()
134134
$currencies = $iso4217->findAll();
135135

136136
$this->assertInternalType('array', $currencies);
137-
$this->assertCount(157, $currencies);
137+
$this->assertCount(155, $currencies);
138138

139139
$this->assertContainsOnly('Payum\ISO4217\Currency', $currencies);
140140
}

0 commit comments

Comments
 (0)