Skip to content

Fix #13831: spurious error in specific combination of namespace blocks and function declaration with phpdoc type annotation#5077

Merged
staabm merged 1 commit into
phpstan:2.1.xfrom
phpstan-bot:create-pull-request/patch-18fxfez
Feb 27, 2026
Merged

Fix #13831: spurious error in specific combination of namespace blocks and function declaration with phpdoc type annotation#5077
staabm merged 1 commit into
phpstan:2.1.xfrom
phpstan-bot:create-pull-request/patch-18fxfez

Fix scope namespace not reset when entering global namespace block

605f76c
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / octoscan succeeded Feb 27, 2026 in 2s

No new alerts in code changed by this pull request