Skip to content

Remove some implicit bool type juggling #61203

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

Open
wants to merge 1 commit into
base: 7.4
Choose a base branch
from

Conversation

nicolas-grekas
Copy link
Member

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

No real bug fixed but still edge cases that are better handled explicitly.
This is both a subset and a superset of #60890 by @Girgias
It fixes all spots reported by php/php-src#18879 that can be consider as legit to me.

@stof
Copy link
Member

stof commented Jul 22, 2025

@nicolas-grekas shouldn't we do that work in 6.4, as we'll want to have support for PHP 8.5 in Symfony 6.4 due to our policy ?

@nicolas-grekas
Copy link
Member Author

To me, that's comparable to CS fixes. PHP 8.5 might ship the deprecation, although vote is ongoing and I wouldn't bet on it passing...

Copy link
Member

@alexandre-daubois alexandre-daubois left a comment

Choose a reason for hiding this comment

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

LGTM, the vote is indeed likely to fail

@xabbuh
Copy link
Member

xabbuh commented Jul 28, 2025

To me, that's comparable to CS fixes. PHP 8.5 might ship the deprecation, although vote is ongoing and I wouldn't bet on it passing...

I'd say let's wait for the voting to finish and if it passes, re-target 6.4 and otherwise keep things as is.

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.

6 participants