Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/204' into develop
Browse files Browse the repository at this point in the history
Forward port #204
  • Loading branch information
weierophinney committed Feb 1, 2018
2 parents 811d503 + d95e2cc commit 1a55f37
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ All notable changes to this project will be documented in this file, in reverse
- [#203](https://github.com/zendframework/zend-validator/pull/203) adds support
for the new Russian bank card "Mir".

- [#204](https://github.com/zendframework/zend-validator/pull/204) adds support
to the IBAN validator for performing SEPA validation against Croatia and San
Marino.

### Changed

- Nothing.
Expand Down
3 changes: 2 additions & 1 deletion src/Iban.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class Iban extends AbstractValidator
protected static $sepaCountries = [
'AT', 'BE', 'BG', 'CY', 'CZ', 'DK', 'FO', 'GL', 'EE', 'FI', 'FR', 'DE',
'GI', 'GR', 'HU', 'IS', 'IE', 'IT', 'LV', 'LI', 'LT', 'LU', 'MT', 'MC',
'NL', 'NO', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'CH', 'GB'
'NL', 'NO', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'CH', 'GB', 'SM',
'HR',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion test/IbanTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ public function ibanDataProvider()
['AE070331234567890123456', true],
['GB29NWBK60161331926819', true],
['VG96VPVG0000012345678901', true],

['DO17552081023122561803924090', true],
['SM76P0854009812123456789123', true],
['HR1723600001101234565', true],
];
}

Expand Down

0 comments on commit 1a55f37

Please sign in to comment.