Project

General

Profile

Actions

Bug #92840

closed

ExtensionScanner reports AssetCollector::addStylesheet() as deprecated

Added by Jonas Eberle about 4 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2020-11-14
Due date:
% Done:

0%

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

Description

DocumentTemplate::addStyleSheet()
was deprecated in #85735.
AssetCollector::addStylesheet()
is marked as a false positive, too.

Related Changelogs:

9.4 Deprecation: #85735 - Various method and property in DocumentTemplate
10.0 Breaking: #87193 - Deprecated functionality removed

Actions #1

Updated by Christian Kuhn almost 3 years ago

  • Status changed from New to Rejected

Yeah. That's the limit of 'weak' matches - in this case, for non-static methods, the extension scanner basically just looks for the method name. and if there is another method with the same name in a different class, it will find this. For more details see https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ApiOverview/ExtensionScanner/Index.html

Actions

Also available in: Atom PDF