a4100f95e7
This PR was merged into the 2.7 branch.
Discussion
----------
[Validator] Improve Iban Validation
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | https://github.com/symfony/symfony/issues/13802
| License | MIT
| Doc PR |
This PR adds 2 more checks for better IBAN validation: the validation of the country code (represented by the first 2 letters) and the format validation according to the country format regex based on http://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf.
Commits
-------
|
||
---|---|---|
.. | ||
Constraints | ||
Fixtures | ||
Mapping | ||
Util | ||
Validator | ||
ConstraintTest.php | ||
ConstraintViolationListTest.php | ||
ConstraintViolationTest.php | ||
LegacyExecutionContextTest.php | ||
LegacyValidatorTest.php | ||
ValidatorBuilderTest.php |