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
I am not sure if the PHPStan error on l23/l29 is intentional or not. The l23 error mentions "return", but this is not true as "exception" is overwritten instead, and not really "overwritten" as the original exception is correctly placed into the new one as "previous exception".
In the repro the functionality of release and release2 methods is exactly the same, so this issue is to fix this inconsistency no matter what the definion of "return" (discussed above) is.
Activity
Add regression tests for issues also fixed by the finally exit point …
phpstan-bot commentedon Mar 13, 2026
Closed via merging phpstan/phpstan-src#5163
github-actions commentedon Apr 14, 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.