Issue Bug Closed

#99238False positive warning in Extension Scanner for getContentObject()

Christoph Schwob 12/01/22, 12:33 updated 08/04/24, 09:42

Description

Tested with TYPO3 11.5.19 and latest version of tt_address.

When assign data of a content element in a controller to the view, e.g. https://github.com/FriendsOfTYPO3/tt_address/blob/master/Classes/Controller/AddressController.php#L66 in extension scanner a weak warning is triggered because of the function “getContentObject()”, but $this->configurationManager->getContentObject() is not the same as TYPO3\CMS\Frontend\ContentObject\AbstractContentObject->getContentObject() mentioned in the ChangeLogs of v8 and v9.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.