Skip to content

Treat match (true) as exhaustive when the arms' falsey narrowing leaves an expression typed never - #6956

Merged
staabm merged 4 commits into
phpstan:2.3.xfrom
phpstan-bot:create-pull-request/patch-pcc8ibq
Nov 5, 2026
Merged

staabm merged 4 commits into
phpstan:2.3.xfrom
phpstan-bot:create-pull-request/patch-pcc8ibq

Commits

  1. Commits on Nov 5, 2026