Skip to content

Conversation

@ondrejmirtes
Copy link
Member

No description provided.

@ondrejmirtes ondrejmirtes merged commit 70dcdfa into 2.1.x Jan 5, 2026
637 of 643 checks passed
@ondrejmirtes ondrejmirtes deleted the opti-scope branch January 5, 2026 08:56
continue;
}

if (!$expr instanceof Variable && !$expr instanceof VirtualNode) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should do this check earlier.

we don't need todo the ast traversal in line 5022 when we later on skip the expression entirely

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here we go: #4720

continue;
}

if (!$expr instanceof Variable && !$expr instanceof VirtualNode) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above, in relation to line 5043

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.

2 participants