Bug #86618

False positive for TYPO3\CMS\Core\Messaging\FlashMessage in Extension Scanner

Added by Thomas Scholze about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-10-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

The first definition in the file cms-scanner/config/Matcher/v7/ClassNameMatcher.php is for the "removed" class TYPO3\CMS\Core\Messaging\FlashMessage, but the class isn't removed, not even in v9.
With every use of FlashMessage::WARNING a false positive is shown.

The flash message handling was updated in ticket no #57382 (https://review.typo3.org/#/c/28912/)

The only removed class in v7 is TYPO3\CMS\Extbase\Mvc\Controller\FlashMessageContainer

#1

Updated by Christian Kuhn about 3 years ago

  • Status changed from New to Closed

Hey. I think this is not a core issue. The TYPO3 v9 extension scanner has no scanner definitions for v7 stuff. You may be referring to michiel roos extended and extracted scanner, maybe? https://github.com/Tuurlijk/typo3scan If so, an issue should be created at this side.

I hope it is ok if i reject this issue for now, if I'm not totally wrong, core can't do anything about it.

Also available in: Atom PDF