#99238False positive warning in Extension Scanner for getContentObject()
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.
History 5
-
Christoph Schwob changed is private 12/01/22, 12:46
-
Benni Mack commented and changed status
NewUnder Review is private 06/20/24, 10:34 -
Benni Mack changed status
Under ReviewNeeds Feedback 06/20/24, 10:34 -
Garvin Hicking changed category 06/20/24, 12:04
-
Georg Ringer commented and changed status
Needs FeedbackClosed 08/04/24, 09:42that is called a weak warning, the checker isnt something like phpstan & co, therefore false positives are flagged as weak
We’ve updated the parser in v13, can you recheck?