Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5ec432

Browse files
committed
[Serializer] Deprecate AdvancedNameConverterInterface
1 parent 3711a6a commit e5ec432

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

UPGRADE-7.2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Serializer
5858

5959
* Deprecate the `csv_escape_char` context option of `CsvEncoder` and the `CsvEncoder::ESCAPE_CHAR_KEY` constant
6060
* Deprecate `CsvEncoderContextBuilder::withEscapeChar()` method
61+
* Deprecate `AdvancedNameConverterInterface`, use `NameConverterInterface` instead
6162

6263
String
6364
------

src/Symfony/Component/Serializer/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ CHANGELOG
99
* Add `SnakeCaseToCamelCaseNameConverter`
1010
* Support subclasses of `\DateTime` and `\DateTimeImmutable` for denormalization
1111
* Add the `UidNormalizer::NORMALIZATION_FORMAT_RFC9562` constant
12+
* Deprecate `AdvancedNameConverterInterface`, use `NameConverterInterface` instead
1213

1314
7.1
1415
---

src/Symfony/Component/Serializer/NameConverter/AdvancedNameConverterInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* Gives access to the class, the format and the context in the property name converters.
1616
*
1717
* @author Kévin Dunglas <[email protected]>
18+
*
19+
* @deprecated since Symfony 7.2, use NameConverterInterface instead
1820
*/
1921
interface AdvancedNameConverterInterface extends NameConverterInterface
2022
{

0 commit comments

Comments
 (0)