Skip to content

Fix PHP warning in GetSetMethodNormalizer when a "set()" method is defined #59840

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

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

Pepperoni1337
Copy link
Contributor

@Pepperoni1337 Pepperoni1337 commented Feb 23, 2025

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Fix: Add length check for setter method detection in
src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php

@Pepperoni1337 Pepperoni1337 changed the title Update GetSetMethodNormalizer.php [Serializer]Fix GetSetMethodNormalizer.php Feb 23, 2025
@nicolas-grekas nicolas-grekas changed the title [Serializer]Fix GetSetMethodNormalizer.php [Serializer] Fix PHP warning in GetSetMethodNormalizer when a "set()" method is defined Feb 24, 2025
@nicolas-grekas nicolas-grekas added this to the 6.4 milestone Feb 24, 2025
@carsonbot carsonbot changed the title [Serializer] Fix PHP warning in GetSetMethodNormalizer when a "set()" method is defined Fix PHP warning in GetSetMethodNormalizer when a "set()" method is defined Feb 24, 2025
@symfony symfony deleted a comment from carsonbot Feb 24, 2025
@symfony symfony deleted a comment from carsonbot Feb 24, 2025
@nicolas-grekas nicolas-grekas changed the base branch from 7.1 to 6.4 February 24, 2025 08:40
Fix: Add length check for setter method detection
@nicolas-grekas
Copy link
Member

Thank you @Pepperoni1337.

@nicolas-grekas nicolas-grekas merged commit 3a53992 into symfony:6.4 Feb 24, 2025
2 checks passed
@fabpot fabpot mentioned this pull request Feb 26, 2025
@fabpot fabpot mentioned this pull request Feb 26, 2025
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.

3 participants