Skip to content

Fix #11351: Defining Array Constants in PHP Traits Causes Errors When Using Class Constants as Keys or Values#5101

Closed
phpstan-bot wants to merge 1 commit into
phpstan:2.1.xfrom
phpstan-bot:create-pull-request/patch-7z2rj8x
Closed

Fix #11351: Defining Array Constants in PHP Traits Causes Errors When Using Class Constants as Keys or Values#5101
phpstan-bot wants to merge 1 commit into
phpstan:2.1.xfrom
phpstan-bot:create-pull-request/patch-7z2rj8x

Fix false positive for trait array constants using class constants as…

eeced60
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / zizmor succeeded Feb 28, 2026 in 2s

No new alerts in code changed by this pull request