zendframework / zend-validator

Validator component from Zend Framework
BSD 3-Clause "New" or "Revised" License
181 stars 136 forks source link

IBAN validator: HR and SM missing in SEPA countries #201

Closed awillner closed 6 years ago

awillner commented 6 years ago

According to https://www.iban.com/structure.html, Croatia (HR) and San Marino (SM) are also SEPA countries. However, the country codes are missing in the sepa countries array of the current IBAN validator.

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' ];