Skip to content

Keep narrowed types after an unrolled foreach whose iterations all terminate - #6716

Merged
ondrejmirtes merged 4 commits into
phpstan:2.3.xfrom
janedbal:fix-foreach-enum-never
Dec 3, 2026
Merged

ondrejmirtes merged 4 commits into
phpstan:2.3.xfrom
janedbal:fix-foreach-enum-never

Test an unrolled foreach whose iterations all end in throw

66e8f54
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
actionlint
succeeded Dec 3, 2026 in 18s