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] Remove abstract uid denormalization code#50558

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

@fancyweb
Copy link
Contributor

QA
Branch?7.0
Bug fix?no
New feature?yes
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

Removes the code that was deprecated in#44721

@fancywebfancywebforce-pushed theserializer/remove-auid-depr branch from1506a6d to1112805CompareJune 5, 2023 09:52
@nicolas-grekasnicolas-grekasforce-pushed theserializer/remove-auid-depr branch from1112805 to79028f9CompareJune 5, 2023 16:08
@nicolas-grekas
Copy link
Member

Thank you@fancyweb.

*/
publicfunctiontestSupportOurAbstractUid()
{
$this->expectDeprecation('Since symfony/serializer 6.1: Supporting denormalization for the "Symfony\Component\Uid\AbstractUid" type in "Symfony\Component\Serializer\Normalizer\UidNormalizer" is deprecated, use one of "Symfony\Component\Uid\AbstractUid" child class instead.');
Copy link
Member

Choose a reason for hiding this comment

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

Note that theExpectDeprecationTrait can be removed whenexpectDeprecation is not called.

fancyweb reacted with rocket emoji
@fancywebfancyweb deleted the serializer/remove-auid-depr branchJune 30, 2023 07:32
nicolas-grekas added a commit that referenced this pull requestJun 30, 2023
…here it is not used (GromNaN)This PR was merged into the 7.0 branch.Discussion----------[Doctrine][Serializer] Remove `ExpectDeprecationTrait` where it is not used| Q             | A| ------------- | ---| Branch?       | 7.0| Bug fix?      | no| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | n/aThis unused code has been left by#50558 and#50575.I think PHPStan should detect when the trait is imported but the method `expectDeprecation` is not used.Other PR for 6.4#50828Commits-------81972d3 Remove ExpectDeprecationTrait where it is not used
@fabpotfabpot mentioned this pull requestOct 21, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@GromNaNGromNaNGromNaN left review comments

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

7.0

Development

Successfully merging this pull request may close these issues.

4 participants

@fancyweb@nicolas-grekas@GromNaN@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp