Skip to content

Migrate legacy tests to NodeScopeResolverTest - #4000

Merged
ondrejmirtes merged 1 commit into
phpstan:1.12.xfrom
VincentLanglet:legacyStrSplit
Jun 11, 2025
Merged

Migrate legacy tests to NodeScopeResolverTest#4000
ondrejmirtes merged 1 commit into
phpstan:1.12.xfrom
VincentLanglet:legacyStrSplit

Conversation

@VincentLanglet

@VincentLanglet VincentLanglet commented May 18, 2025

Copy link
Copy Markdown
Contributor

This will help writing/updating tests for #3999

@VincentLanglet
VincentLanglet marked this pull request as ready for review May 18, 2025 21:26
@phpstan-bot

Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@VincentLanglet

VincentLanglet commented May 24, 2025

Copy link
Copy Markdown
Contributor Author

Also if wanted/useful @ondrejmirtes I could migrate more legacy test to NodeScopeResolverTest in others PR.
Seems like an easy task

@ondrejmirtes
ondrejmirtes merged commit 6e87a98 into phpstan:1.12.x Jun 11, 2025
@ondrejmirtes

Copy link
Copy Markdown
Member

Thank you very much! Yes, please send more PRs making this class smaller 😊 It's legacy after all.

@ondrejmirtes

Copy link
Copy Markdown
Member

Please submit more PRs on top of 2.1.x, there are many changes to tests there.

@VincentLanglet

Copy link
Copy Markdown
Contributor Author

Please submit more PRs on top of 2.1.x, there are many changes to tests there.

Sorry, it was needed for #3999 (but maybe I should have open the str_split pr on 2.1.x, I never know which one I should chose).

I'll try to migrate more tests on 2.1.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants