Skip to content

Commit abf129e

Browse files
OskarStarknicolas-grekas
authored andcommitted
[Validator] Remove deprecated INVALID_BANK_CODE_ERROR constant
1 parent 6ab4a14 commit abf129e

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

UPGRADE-8.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@ TwigBridge
357357

358358
* Remove `text` format from the `debug:twig` command, use the `txt` format instead
359359

360+
Validator
361+
---------
362+
363+
* Remove `Bic::INVALID_BANK_CODE_ERROR` constant. This error code was not used in the Bic constraint validator anymore.
364+
360365
VarExporter
361366
-----------
362367

src/Symfony/Component/Validator/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
8.0
5+
---
6+
7+
* Remove `Bic::INVALID_BANK_CODE_ERROR` constant. This error code was not used in the Bic constraint validator anymore.
8+
49
7.3
510
---
611

src/Symfony/Component/Validator/Constraints/Bic.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,13 @@ class Bic extends Constraint
3939

4040
public const INVALID_LENGTH_ERROR = '66dad313-af0b-4214-8566-6c799be9789c';
4141
public const INVALID_CHARACTERS_ERROR = 'f424c529-7add-4417-8f2d-4b656e4833e2';
42-
/**
43-
* @deprecated since Symfony 7.1, to be removed in 8.0
44-
*/
45-
public const INVALID_BANK_CODE_ERROR = '00559357-6170-4f29-aebd-d19330aa19cf';
4642
public const INVALID_COUNTRY_CODE_ERROR = '1ce76f8d-3c1f-451c-9e62-fe9c3ed486ae';
4743
public const INVALID_CASE_ERROR = '11884038-3312-4ae5-9d04-699f782130c7';
4844
public const INVALID_IBAN_COUNTRY_CODE_ERROR = '29a2c3bb-587b-4996-b6f5-53081364cea5';
4945

5046
protected const ERROR_NAMES = [
5147
self::INVALID_LENGTH_ERROR => 'INVALID_LENGTH_ERROR',
5248
self::INVALID_CHARACTERS_ERROR => 'INVALID_CHARACTERS_ERROR',
53-
self::INVALID_BANK_CODE_ERROR => 'INVALID_BANK_CODE_ERROR',
5449
self::INVALID_COUNTRY_CODE_ERROR => 'INVALID_COUNTRY_CODE_ERROR',
5550
self::INVALID_CASE_ERROR => 'INVALID_CASE_ERROR',
5651
];

0 commit comments

Comments
 (0)