-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
base: 7.4
Are you sure you want to change the base?
Conversation
aa22f7b
to
1f6ddc5
Compare
1f6ddc5
to
62c139d
Compare
@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 ? |
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... |
There was a problem hiding this 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
I'd say let's wait for the voting to finish and if it passes, re-target |
The RFC won't pass, that's 99,999% sure now. |
$this->assertTrue(true, $this->resolver->isDefined('foo')); | ||
$this->assertTrue(true, $this->resolver->isDeprecated('foo')); | ||
$this->assertTrue(true, $this->resolver->hasDefault('foo')); | ||
$this->assertTrue($this->resolver->isDefined('foo')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a fix to an older branch as this is clearly a bug in the test?
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.