Skip to content

Commit

Permalink
feature #54535 [Validator] Deprecate Bic::INVALID_BANK_CODE_ERROR (…
Browse files Browse the repository at this point in the history
…MatTheCat)

This PR was merged into the 7.1 branch.

Discussion
----------

[Validator] Deprecate `Bic::INVALID_BANK_CODE_ERROR`

| Q             | A
| ------------- | ---
| Branch?       | 7.1
| Bug fix?      | no
| New feature?  | no
| Deprecations? | yes
| Issues        | N/A
| License       | MIT

Follow-up of #54219: now that `Bic::INVALID_BANK_CODE_ERROR` is no longer referenced, it should be deprecated then removed.

Commits
-------

1f73fbd [Validator] Deprecate `Bic::INVALID_BANK_CODE_ERROR`
  • Loading branch information
fabpot committed Apr 10, 2024
2 parents 6cd69fd + 1f73fbd commit 75ce82c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UPGRADE-7.1.md
Expand Up @@ -57,6 +57,11 @@ TwigBundle

* Mark class `TemplateCacheWarmer` as `final`

Validator
---------

* Deprecate `Bic::INVALID_BANK_CODE_ERROR`

Workflow
--------

Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Component/Validator/CHANGELOG.md
Expand Up @@ -12,6 +12,7 @@ CHANGELOG
* Add `list` and `associative_array` types to `Type` constraint
* Add the `Charset` constraint
* Add the `requireTld` option to the `Url` constraint
* Deprecate `Bic::INVALID_BANK_CODE_ERROR`

7.0
---
Expand Down
3 changes: 3 additions & 0 deletions src/Symfony/Component/Validator/Constraints/Bic.php
Expand Up @@ -29,6 +29,9 @@ class Bic extends Constraint
{
public const INVALID_LENGTH_ERROR = '66dad313-af0b-4214-8566-6c799be9789c';
public const INVALID_CHARACTERS_ERROR = 'f424c529-7add-4417-8f2d-4b656e4833e2';
/**
* @deprecated since Symfony 7.1, to be removed in 8.0
*/
public const INVALID_BANK_CODE_ERROR = '00559357-6170-4f29-aebd-d19330aa19cf';
public const INVALID_COUNTRY_CODE_ERROR = '1ce76f8d-3c1f-451c-9e62-fe9c3ed486ae';
public const INVALID_CASE_ERROR = '11884038-3312-4ae5-9d04-699f782130c7';
Expand Down

0 comments on commit 75ce82c

Please sign in to comment.