Skip to content

Commit 0a263d0

Browse files
committed
[Serializer] Deprecate AdvancedNameConverterInterface
1 parent 28ceddd commit 0a263d0

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
@@ -65,6 +65,7 @@ Serializer
6565

6666
* Deprecate the `csv_escape_char` context option of `CsvEncoder` and the `CsvEncoder::ESCAPE_CHAR_KEY` constant
6767
* Deprecate `CsvEncoderContextBuilder::withEscapeChar()` method
68+
* Deprecate `AdvancedNameConverterInterface`, use `NameConverterInterface` instead
6869

6970
String
7071
------

src/Symfony/Component/Serializer/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CHANGELOG
1212
* Add support for configuring multiple serializer instances with different
1313
default contexts, name converters, sets of normalizers and encoders
1414
* Add support for collection profiles of multiple serializer instances
15+
* Deprecate `AdvancedNameConverterInterface`, use `NameConverterInterface` instead
1516

1617
7.1
1718
---

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)