Skip to content

Generalize dynamicConstantNames constants whose type cannot be widened by generalize() to mixed#5457

Merged
staabm merged 6 commits into
phpstan:2.1.xfrom
phpstan-bot:create-pull-request/patch-zwukgp1
Apr 15, 2026
Merged

Generalize dynamicConstantNames constants whose type cannot be widened by generalize() to mixed#5457
staabm merged 6 commits into
phpstan:2.1.xfrom
phpstan-bot:create-pull-request/patch-zwukgp1

Add test for PHPDoc type incompatible with native value

794d8fe
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / zizmor succeeded Apr 15, 2026 in 1s

No new alerts in code changed by this pull request