issue-201 - add tow countries for SEPA validation (croatia and san marino)
MODIFY
src/Iban.php
src/Iban.php
@@ -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',
];
/**

MODIFY
test/IbanTest.php
test/IbanTest.php
@@ -88,8 +88,9 @@ class IbanTest extends TestCase
['AE070331234567890123456', true],
['GB29NWBK60161331926819', true],
['VG96VPVG0000012345678901', true],
-
['DO17552081023122561803924090', true],
+ ['SM76P0854009812123456789123', true],
+ ['HR1723600001101234565', true],
];
}

issue-201 - add tow countries for SEPA validation (croatia and san marino)