8000 Removed deprecations in Serializer component by dosten · Pull Request #14151 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Removed deprecations in Serializer component #14151

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

Closed
wants to merge 2 commits into from
Closed

Removed deprecations in Serializer component #14151

wants to merge 2 commits into from

Conversation

dosten
Copy link
Contributor
@dosten dosten commented Mar 31, 2015
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

/**
* @group legacy
*/
public function testLegacyCamelizedAttributesNormalize()
Copy link
Member

Choose a reason for hiding this comment

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

If you just remove the test, we loose a test proving that name converters are supported and really used by the normalizer.

IMO this test should be converted to use directly the NameConverter instead of setCamelizedAttributes() but not totally removed.
Same for the other normalizer.

Copy link
Contributor

Choose a reason for hiding this comment

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

The test should have been added when the deprecation was introduced, if the case it not covered anymore without using the deprecated way.

Copy link
Member

Choose a reason for hiding this comment

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

@Tobion I'll open a PR for that.

@dunglas
Copy link
Member
dunglas commented Apr 21, 2015

I've added tests in #14415.
So 👍.

@dosten
Copy link
Contributor Author
dosten commented Apr 21, 2015

@dunglas great!

ping @stof

@stof
Copy link
Member
stof commented Apr 21, 2015

👍

1 similar comment
@Tobion
Copy link
Contributor
Tobion commented Apr 21, 2015

👍

@dunglas
Copy link
Member
dunglas commented Apr 27, 2015

Thank you @dosten.

dunglas added a commit that referenced this pull request Apr 27, 2015
This PR was squashed before being merged into the master branch (closes #14151).

Discussion
----------

Removed deprecations in Serializer component

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

e90e9b2 Removed deprecations in Serializer component
@dunglas dunglas closed this Apr 27, 2015
@dosten dosten deleted the serializer-deprecations branch April 27, 2015 11:53
615A
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.

5 participants
0