Improve StrSplit returnType
Hi @herndlm
I saw you worked multiple times on this extension with
- https://github.com/phpstan/phpstan-src/pull/1496
- https://github.com/phpstan/phpstan-src/pull/1544
So you might want to review this.
I still need to update the LegacyNodeScopeResolverTest.
@ondrejmirtes Do you want me to fix the LegacyNodeScopeResolverTest as if, or would it be ok to migrate them inside the new NodeScopeResolverTest instead ?
If it's ok, I opened https://github.com/phpstan/phpstan-src/pull/4000 first
This pull request has been marked as ready for review.
@ondrejmirtes The HasPropertyTypeTest::testIsSuperTypeOf with data set #4 seems random, On this PR it fails on PHP 8.4 ubuntu, But on another PR it onl fails on PHP 8.3 ubuntu https://github.com/phpstan/phpstan-src/actions/runs/16353254353/job/46205186388?pr=3906 And it changes sometimes when I repush.
So I don't think, it's related to the PR ; this is now ready.
Thank you!