Skip to content

[Serializer] Add deprecation notices #18588

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

theofidry
Copy link
Contributor

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets #17140
License MIT
Doc PR none

As discussed in #18583, add deprecation notices to master instead.

@theofidry theofidry changed the title Add deprecation notices [Serializer] Add deprecation notices Apr 19, 2016
@@ -56,11 +56,17 @@ class Serializer implements SerializerInterface, NormalizerInterface, Denormaliz

/**
* @var array
*
* @deprecated since 2.3.37 will be removed in 4.0
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be since 3.1.

@@ -56,11 +56,17 @@ class Serializer implements SerializerInterface, NormalizerInterface, Denormaliz

/**
* @var array
*
* @deprecated since 3.1 will be removed in 4.0
* @see https://github.com/symfony/symfony/pull/17140
Copy link
Member

Choose a reason for hiding this comment

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

I think we should remove the line (and the same below): git blame gives the history, that's good enough (and matches the current way of doing things AFAIK)

@theofidry
Copy link
Contributor Author

@nicolas-grekas done

@nicolas-grekas
Copy link
Member

👍

@nicolas-grekas
Copy link
Member

Thank you @theofidry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants