Issue Bug Closed

#96567php ast catches wrong class

Tobias Kasprak 01/18/22, 10:05 updated 10/04/22, 14:14

Description

PHP AST recognizes the RecordsContentObject but mistakenly recognizes it as a PageRenderer and captures it as a page render class. This triggers the following error Breaking: #93003 – PageRenderer renders only full page
example method which throws the error
public function render() {
$conf = $this->buildConfArray($this->arguments[‘uid’]);
$recordsObjectManager = $this->objectManager->get(RecordsContentObject::class);
return $this->RecordsContentObject->render($conf);
}
I would like to request a modification of the scanner.

Reviews 2