Skip to content

[Validator] Better documentation on the Bic constrain #13672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reference/constraints/Bic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Bic
This constraint is used to ensure that a value has the proper format of a
`Business Identifier Code (BIC)`_. BIC is an internationally agreed means to
uniquely identify both financial and non-financial institutions. You may also
check that the BIC is associated with a given IBAN.
check that the BIC's country code is the same as a given IBAN's one.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Expand Down Expand Up @@ -96,7 +96,7 @@ iban

The ``iban`` option was introduced in Symfony 4.3.

An IBAN value to validate that the BIC is associated with it.
An IBAN value to validate that its country code is the same as the BIC's one.

ibanMessage
~~~~~~~~~~~
Expand Down