Skip to content

Report new on an expression whose type is not string|object via new.nonObject#5866

Open
phpstan-bot wants to merge 5 commits into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-9u2kw5i
Open

Report new on an expression whose type is not string|object via new.nonObject#5866
phpstan-bot wants to merge 5 commits into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-9u2kw5i

Add nullable string and string-less union test cases for new.nonObject

32ec174
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Coding Standard
succeeded Jun 15, 2026 in 1m 54s