Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Serializer] Deprecate SerializerAwareEncoder#18483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@JhonnyL
Copy link
Contributor

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?yes
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

sstok reacted with thumbs up emoji
* @author Kévin Dunglas <dunglas@gmail.com>
*/
class XmlEncoderextends SerializerAwareEncoderimplements EncoderInterface, DecoderInterface, NormalizationAwareInterface
class XmlEncoderimplements EncoderInterface, DecoderInterface, NormalizationAwareInterface, SerializerAwareInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This is a BC break (in case someone type-hinted withSerializerAwareEncoder).

@JhonnyL
Copy link
ContributorAuthor

@xabbuh I reverted the changes to XmlEncoder.

*
* @author Jordi Boggiano <j.boggiano@seld.be>
*
* @deprecated since version 3.1, to be removed in 4.0. Use the SerializerAwareTrait instead.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

the deprecation warning must be triggered too

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

btw, this will be 3.2, not 3.1, as we are already feature-frozen

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

But that would trigger a deprecation warning whenever XmlEncoder is used, with no option to fix it.

I will update to 3.2

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@stof Isn't the docblock annotation enough as the rest is handled by the debug class loader?

@JhonnyLJhonnyLforce-pushed thedeprecate-SerializerAwareEncoder branch from67c4c3b toaf57467CompareApril 21, 2016 08:20
@GuilhemN
Copy link
Contributor

LGTM 👍

@xabbuh
Copy link
Member

👍

@fabpot
Copy link
Member

Thank you@JhonnyL.

@fabpotfabpot merged commitaf57467 intosymfony:masterJun 8, 2016
fabpot added a commit that referenced this pull requestJun 8, 2016
This PR was merged into the 3.2-dev branch.Discussion----------[Serializer] Deprecate SerializerAwareEncoder| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | yes| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |Commits-------af57467 [Serializer] Deprecate SerializerAwareEncoder
@fabpotfabpot mentioned this pull requestOct 27, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

7 participants

@JhonnyL@GuilhemN@xabbuh@fabpot@stof@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp