You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
add another flag on SpecifiedTypes to not imply the opposite case #14705
So maybe instead of generating weird faux functions calls, we might add another flag on SpecifiedTypes to not imply the opposite case?
Also research how the equality assertion is currently implemented
(citing ondrej)
Code snippet that reproduces the problem
No response
Expected output
no more faux calls
Did PHPStan help you today? Did it make you happy in any way?
Activity
mergeable commentedon May 26, 2026
This bug report is missing a link to reproduction at phpstan.org/try.
It will most likely be closed after manual review.
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
Add `setShouldNotImplyOppositeCase()` on `SpecifiedTypes` to replace …
phpstan-bot commentedon Sep 20, 2026
Closed via merging phpstan/phpstan-src#5769
github-actions commentedon Oct 22, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.