Actions
Task #94283
closedAvoid assigning unexpected node types in GeneratorClassesResolver
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2021-06-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
GeneratorClassesResolver
used for the extension scanner preprocesses GeneralUtility::makeInstance
calls, transforms class-string values to their corresponding class-constants and provides an alternative low-level class instantiation using new
.
When modifying PHP parser nodes, only expected types shall be used - which is ClassConstFetch
instead of FullyQualified
.
Actions