Skip to content

Resolve parent class reflection by class name in Php4ConstructorRector - #8838

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-php4-parent-by-name
Oct 25, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
tv-php4-parent-by-name

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Resolve the parent ClassReflection from the already name-resolved class reflection ($classReflection->getParentClass()) in refactor(), passed down as a method argument, instead of fetching it from the $scope via ParentClassScopeResolver::resolveParentClassReflection().

ParentClassScopeResolver had no other users and is removed.

@TomasVotruba
TomasVotruba merged commit fe0d47b into main Oct 25, 2026
48 of 49 checks passed
@TomasVotruba
TomasVotruba deleted the tv-php4-parent-by-name branch October 25, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant