Skip to content

Narrow foreach body to non-empty regardless of polluteScopeWithAlwaysIterableForeach - #6094

Draft
zonuexe wants to merge 2 commits into
phpstan:2.2.xfrom
zonuexe:foreach-non-empty-narrowing
Draft

Narrow foreach body to non-empty regardless of polluteScopeWithAlwaysIterableForeach#6094
zonuexe wants to merge 2 commits into
phpstan:2.2.xfrom
zonuexe:foreach-non-empty-narrowing

Commits

Commits on Aug 1, 2026