# Bug report ``` Variable $value might not be defined. ``` ### Code snippet that reproduces the problem https://phpstan.org/r/5749c17c-76ca-40ac-9374-d94ae8510652 ### Expected output no phpstan error
Activity
mergeable commentedon Dec 2, 2020
This bug report is missing a link to reproduction on phpstan.org.
It will most likely be closed after manual review.
mvorisek commentedon Dec 2, 2020
reproduceable example/link added
phpstan-bot commentedon Nov 18, 2022
@mvorisek After the latest push in 1.9.x, PHPStan now reports different result with your code snippet:
Full report
Variable $value might not be defined.phpstan-bot commentedon Nov 18, 2022
@mvorisek After the latest push in 1.9.x, PHPStan now reports different result with your code snippet:
Full report
Variable $value might not be defined.phpstan-bot commentedon Nov 18, 2022
@mvorisek After the latest push in 1.9.x, PHPStan now reports different result with your code snippet:
Full report
Variable $value might not be defined.mvorisek commentedon Jul 25, 2023
another repro: https://phpstan.org/r/24ae8176-ac2a-496d-b763-eb762f2b4eea
Preserve vacuously true conditional expressions during scope merging
Preserve vacuously true conditional expressions during scope merging
Preserve vacuously true conditional expressions during scope merging
Fix phpstan/phpstan#4173: Consequest scope with the same condition (#…
phpstan-bot commentedon Mar 30, 2026
Closed via merging phpstan/phpstan-src#5056
Updated PHPStan to commit b73b0f507070b06e9e7aa84d2850c143e034453d
Updated PHPStan to commit 4cbde15089acd7e1b52b20fcffafe8fe004a2b43
Fix phpstan/phpstan#4173: Consequest scope with the same condition (p…
github-actions commentedon May 1, 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.