Closed jacekkarczmarczyk closed 1 year ago
Thanks for reporting this. Would you like to provide a fix? Like you said, clearing the violations
array at the beginning of the Validator::validate
method (https://github.com/jschaedl/iban-validation/blob/master/src/Validator.php#L53) should fix it.
I'll give it a try
https://github.com/jschaedl/iban-validation/releases/tag/v2.0.1
@jacekkarczmarczyk Thanks again!
Cheers, thanks for release!
Following code was working in 1.x but fails in 2.x because
validations
array is not cleared: