Skip to content
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

[Serializer] Add support of true built-in type (from PHP 8.2) #46675

Merged
merged 1 commit into from Jun 20, 2022

Conversation

alexandre-daubois
Copy link
Contributor

@alexandre-daubois alexandre-daubois commented Jun 15, 2022

Q A
Branch? 6.2
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR -

RFC: https://wiki.php.net/rfc/true-type
Pull request: php/php-src#8326

Same as this PR to add support of false and null types: #45981

@alexandre-daubois alexandre-daubois requested a review from dunglas as a code owner Jun 15, 2022
@carsonbot carsonbot added this to the 4.4 milestone Jun 15, 2022
@carsonbot carsonbot changed the title [Serializer][PropertyInfo] Add support of true built-in type (from PHP 8.2) [PropertyInfo][Serializer] Add support of true built-in type (from PHP 8.2) Jun 15, 2022
mtarld
mtarld approved these changes Jun 15, 2022
@fabpot
Copy link
Member

@fabpot fabpot commented Jun 17, 2022

That's a new feature that should be part of 6.2. Merging #45981 in 4.4 was a mistake.
I'm all for making 4.4 compatible with 8.2 because the code should work well with 8.2, but adding new features is a no-go for me.
If one wants to use newer PHP features, they need to update to the latest Symfony version; I think it makes sense.

@alexandre-daubois
Copy link
Contributor Author

@alexandre-daubois alexandre-daubois commented Jun 17, 2022

Thank you for the feedback @fabpot! I understand and agree your point of view on new PHP features. I'll do the necessary changes (if any) and rebase this to 6.2 👍

@alexandre-daubois alexandre-daubois changed the base branch from 4.4 to 6.2 Jun 17, 2022
@alexandre-daubois alexandre-daubois force-pushed the fix-true-builtin-type branch 2 times, most recently from 0608808 to c3dafbd Compare Jun 17, 2022
@alexandre-daubois alexandre-daubois requested a review from dunglas Jun 17, 2022
@alexandre-daubois alexandre-daubois requested a review from derrabus Jun 17, 2022
@nicolas-grekas nicolas-grekas removed this from the 4.4 milestone Jun 19, 2022
@nicolas-grekas nicolas-grekas added this to the 6.2 milestone Jun 19, 2022
@carsonbot carsonbot changed the title [PropertyInfo][Serializer] Add support of true built-in type (from PHP 8.2) [Serializer] Add support of true built-in type (from PHP 8.2) Jun 20, 2022
@nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Jun 20, 2022

Thank you @alexandre-daubois.

@nicolas-grekas nicolas-grekas merged commit 1ded85f into symfony:6.2 Jun 20, 2022
3 of 8 checks passed
@alexandre-daubois alexandre-daubois deleted the fix-true-builtin-type branch Jun 20, 2022
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.

None yet

8 participants