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

Commit 5784b9c

Browse files
committed
Merge branch 'hotfix/163'
Close #163
2 parents 480a434 + 28adfff commit 5784b9c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ All notable changes to this project will be documented in this file, in reverse
1616
https://en.wikipedia.org/wiki/Payment_card_number).
1717
- [#162](https://github.com/zendframework/zend-validator/pull/162) updates the
1818
`Hostname` validator to support `.hr` (Croatia) IDN domains.
19+
- [#163](https://github.com/zendframework/zend-validator/pull/163) updates the
20+
`Iban` validator to support Belarus.
1921

2022
### Deprecated
2123

src/Iban.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ class Iban extends AbstractValidator
7575
'BG' => 'BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}',
7676
'BH' => 'BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}',
7777
'BR' => 'BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z][A-Z0-9]',
78+
'BY' => 'BY[0-9]{2}[A-Z0-9]{4}[0-9]{4}[A-Z0-9]{16}',
7879
'CH' => 'CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}',
7980
'CR' => 'CR[0-9]{2}[0-9]{3}[0-9]{14}',
8081
'CY' => 'CY[0-9]{2}[0-9]{3}[0-9]{5}[A-Z0-9]{16}',

0 commit comments

Comments
 (0)