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

[VarDumper] Fix serialization of stubs with null or uninitialized values#53906

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
derrabus merged 1 commit intosymfony:6.4fromderrabus:bugfix/stub-serialize
Feb 13, 2024

Conversation

derrabus
Copy link
Member

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesFix#53905
LicenseMIT

TheStub::__sleep() implementation excludes properties from the serialized representation that are set to their defaults, but it cannot tell apart properties with a null value from properties that don't have a default. This is an issue for typed properties that are uninitialized by default.

ruudk reacted with heart emoji
@carsonbotcarsonbot added this to the6.4 milestoneFeb 12, 2024
@derrabusderrabus changed the title[VarDumper] Fix serialization of stubs with null values[VarDumper] Fix serialization of stubs with null or uninitialized valuesFeb 12, 2024
@ruudk
Copy link
Contributor

Thanks@derrabus, just tested this and it solves my issue 🎉

derrabus reacted with hooray emoji

@derrabusderrabus merged commit9f692c6 intosymfony:6.4Feb 13, 2024
@derrabusderrabus deleted the bugfix/stub-serialize branchFebruary 13, 2024 08:53
This was referencedFeb 27, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

4 participants
@derrabus@ruudk@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp