Skip to content

Fix remaining errors after LegacyNodeScopeResolverTest refactoring#5202

Merged
staabm merged 5 commits intophpstan:2.1.xfrom
staabm:fixb
Mar 11, 2026
Merged

Fix remaining errors after LegacyNodeScopeResolverTest refactoring#5202
staabm merged 5 commits intophpstan:2.1.xfrom
staabm:fixb

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Mar 11, 2026

fix remaining errors mentioned in #5156 (comment)

see

PHP_VERSION_ID < 80100 ? 'string' : 'DOMElement|null',

see

PHP_VERSION_ID < 80300 ? 'array{2.0, 3.0, 4.0, 5.0}' : 'array{2, 3, 4, 5}',

@staabm staabm changed the base branch from 2.2.x to 2.1.x March 11, 2026 09:41
@phpstan-bot
Copy link
Collaborator

You've opened the pull request against the latest branch 2.2.x. PHPStan 2.2 is not going to be released for months. If your code is relevant on 2.1.x and you want it to be released sooner, please rebase your pull request and change its target to 2.1.x.

@ondrejmirtes
Copy link
Member

👍

@staabm staabm merged commit f5ac7f0 into phpstan:2.1.x Mar 11, 2026
376 checks passed
@staabm staabm deleted the fixb branch March 11, 2026 10:10
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