Skip to content

Prevent infinite recursion in AttributeReflectionFactory when an attribute references itself on its constructor#5773

Merged
ondrejmirtes merged 2 commits into
phpstan:2.1.xfrom
phpstan-bot:create-pull-request/patch-ji7gohp
May 27, 2026
Merged

Prevent infinite recursion in AttributeReflectionFactory when an attribute references itself on its constructor#5773
ondrejmirtes merged 2 commits into
phpstan:2.1.xfrom
phpstan-bot:create-pull-request/patch-ji7gohp

Use native reflection for constructor parameter names to avoid infini…

ef37db9
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
E2E tests (bin/phpstan analyse -l 8 -c tests/e2e/data/empty.neon tests/e2e/data/curl_setopt.php, ...
succeeded May 27, 2026 in 36s