8000 feature #58308 [Serializer] Deprecate `AdvancedNameConverterInterface… · symfony/symfony@9bc8007 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bc8007

Browse files
committed
feature #58308 [Serializer] Deprecate AdvancedNameConverterInterface (mtarld)
This PR was merged into the 7.2 branch. Discussion ---------- [Serializer] Deprecate `AdvancedNameConverterInterface` | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | yes | Issues | | License | MIT Deprecate the `AdvancedNameConverterInterface` in favor of `NameConverterInterface` as they'll have the same signature in 8.0 Commits ------- 0a263d0 [Serializer] Deprecate `AdvancedNameConverterInterface`
2 parents abd7822 + 0a263d0 commit 9bc8007

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
@@ -73,6 +73,7 @@ Serializer
7373

7474
* Deprecate the `csv_escape_char` context option of `CsvEncoder` and the `CsvEncoder::ESCAPE_CHAR_KEY` constant
7575
* Deprecate `CsvEncoderContextBuilder::withEscapeChar()` method
76+
* Deprecate `AdvancedNameConverterInterface`, use `NameConverterInterface` instead
7677

7778
String
7879
------

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 <dunglas@gmail.com>
18+
*
19+
* @deprecated since Symfony 7.2, use NameConverterInterface instead
1820
*/
1921
interface AdvancedNameConverterInterface extends NameConverterInterface
2022
{

0 commit comments

Comments
 (0)
0