ScanMatch
Read onlyYes
FinalYes
A single place in a scanned file that matched one of the extension scanner rules.
The match carries the name of the matcher that produced it: this is what makes the indicator interpretable, since a weak match from a name-only matcher means something different from a weak match from an argument count matcher.
This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.
Table of Contents
Methods
- __construct() : mixed
- getIndicator() : Indicator
- getLine() : int
- getMatcher() : string
- getMessage() : string
- getRestFiles() : array<int, string>
Methods
__construct()
public
__construct(int $line, Indicator $indicator, string $matcher, string $message, array<int, string> $restFiles) : mixed
Parameters
- $line : int
- $indicator : Indicator
- $matcher : string
-
Opaque identifier of the matcher that produced this match, stable within a minor version, e.g. "MethodCallMatcher". Meant for display and grouping, not for mapping back to a class.
- $message : string
- $restFiles : array<int, string>
-
File names of the changelog entries, unresolved, e.g. "Deprecation-80491-BackendControllerInclusionHooks.rst"
getIndicator()
public
getIndicator() : Indicator
Return values
IndicatorgetLine()
public
getLine() : int
Return values
intgetMatcher()
public
getMatcher() : string
Return values
stringgetMessage()
public
getMessage() : string
Return values
stringgetRestFiles()
public
getRestFiles() : array<int, string>