Table of Contents
-
$phpUnitVersion
: string
-
$project
: Project
-
$target
: string
-
__construct()
: mixed
-
process()
: void
-
documentAsString()
: string
-
initTargetDirectory()
: void
-
processDirectory()
: void
-
processFile()
: void
-
processFunction()
: void
-
processTests()
: void
-
processUnit()
: void
-
saveDocument()
: void
-
setBuildInformation()
: void
-
setTotals()
: void
-
targetDirectory()
: string
$phpUnitVersion
private
string
$phpUnitVersion
$project
private
Project
$project
$target
private
string
$target
__construct()
public
__construct(string $version) : mixed
Parameters
-
$version
: string
-
Return values
mixed
—
process()
public
process(CodeCoverage $coverage, string $target) : void
Parameters
-
$coverage
: CodeCoverage
-
-
$target
: string
-
-
throws
-
XmlException
Return values
void
—
documentAsString()
private
documentAsString(DOMDocument $document) : string
Parameters
-
$document
: DOMDocument
-
-
throws
-
XmlException
-
see
-
https://bugs.php.net/bug.php?id=79191
Return values
string
—
initTargetDirectory()
private
initTargetDirectory(string $directory) : void
Parameters
-
$directory
: string
-
-
throws
-
PathExistsButIsNotDirectoryException
-
throws
-
WriteOperationFailedException
Return values
void
—
processDirectory()
private
processDirectory(Directory $directory, Node $context) : void
Parameters
-
$directory
: Directory
-
-
$context
: Node
-
-
throws
-
XmlException
Return values
void
—
processFile()
private
processFile(File $file, Directory $context) : void
Parameters
-
$file
: File
-
-
$context
: Directory
-
-
throws
-
XmlException
Return values
void
—
processFunction()
private
processFunction(array<string|int, mixed> $function, Report $report) : void
Parameters
-
$function
: array<string|int, mixed>
-
-
$report
: Report
-
Return values
void
—
processTests()
private
processTests(array<string|int, mixed> $tests) : void
Parameters
-
$tests
: array<string|int, mixed>
-
Return values
void
—
processUnit()
private
processUnit(array<string|int, mixed> $unit, Report $report) : void
Parameters
-
$unit
: array<string|int, mixed>
-
-
$report
: Report
-
Return values
void
—
saveDocument()
private
saveDocument(DOMDocument $document, string $name) : void
Parameters
-
$document
: DOMDocument
-
-
$name
: string
-
-
throws
-
XmlException
Return values
void
—
private
setBuildInformation() : void
Return values
void
—
setTotals()
private
setTotals(AbstractNode $node, Totals $totals) : void
Parameters
-
$node
: AbstractNode
-
-
$totals
: Totals
-
Return values
void
—
targetDirectory()
private
targetDirectory() : string
Return values
string
—