10000 [Validator] Deprecate `Bic::INVALID_BANK_CODE_ERROR` · symfony/symfony@9b8c60c · GitHub
[go: up one dir, main page]

Skip to content

Commit 9b8c60c

Browse files
committed
[Validator] Deprecate Bic::INVALID_BANK_CODE_ERROR
1 parent a8b4739 commit 9b8c60c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ TwigBundle
5757

5858
* Mark class `TemplateCacheWarmer` as `final`
5959

60+
Validator
61+
---------
62+
63+
* Deprecate `Bic::INVALID_BANK_CODE_ERROR`
64+
6065
Workflow
6166
--------
6267

Diff line numberDiff line change
@@ -12,6 +12,7 @@ CHANGELOG
1212
* Add `list` and `associative_array` types to `Type` constraint
1313
* Add the `Charset` constraint
1414
* Add the `requireTld` option to the `Url` constraint
15+
* Deprecate `Bic::INVALID_BANK_CODE_ERROR`
1516

1617
7.0
1718
---
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ class Bic extends Constraint
2929
{
3030
public const INVALID_LENGTH_ERROR = '66dad313-af0b-4214-8566-6c799be9789c';
3131
public const INVALID_CHARACTERS_ERROR = 'f424c529-7add-4417-8f2d-4b656e4833e2';
32+
/**
33+
* @deprecated since Symfony 7.1, to be removed in 8.0
34+
*/
3235
public const INVALID_BANK_CODE_ERROR = '00559357-6170-4f29-aebd-d19330aa19cf';
3336
public const INVALID_COUNTRY_CODE_ERROR = '1ce76f8d-3c1f-451c-9e62-fe9c3ed486ae';
3437
public const INVALID_CASE_ERROR = '11884038-3312-4ae5-9d04-699f782130c7';