ScanResult
Read onlyYes
FinalYes
The outcome of scanning one file.
A file that could not be parsed yields a result carrying the parser message and no matches, so that scanning a whole extension is not aborted by a single unparsable file.
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
- getEffectiveCodeLines() : int
- getFile() : string
- getIgnoredLines() : int
- getMatches() : array<int, ScanMatch>
- getParseError() : string|null
- isFileIgnored() : bool
Methods
__construct()
public
__construct(string $file, array<int, ScanMatch> $matches, string|null $parseError, bool $isFileIgnored, int $effectiveCodeLines, int $ignoredLines) : mixed
Parameters
- $file : string
- $matches : array<int, ScanMatch>
- $parseError : string|null
- $isFileIgnored : bool
- $effectiveCodeLines : int
- $ignoredLines : int
getEffectiveCodeLines()
public
getEffectiveCodeLines() : int
Return values
intgetFile()
public
getFile() : string
Return values
stringgetIgnoredLines()
public
getIgnoredLines() : int
Return values
intgetMatches()
public
getMatches() : array<int, ScanMatch>
Return values
array<int, ScanMatch>getParseError()
public
getParseError() : string|null
Return values
string|nullisFileIgnored()
public
isFileIgnored() : bool