Facade
in package
FinalYes
Table of Contents
Properties
- $phpUnitVersion : string
- $project : Project
- $target : string
Methods
- __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
Properties
$phpUnitVersion read-only
private
string
$phpUnitVersion
$project
private
Project
$project
$target
private
string
$target
Methods
__construct()
public
__construct(string $version) : mixed
Parameters
- $version : string
process()
public
process(CodeCoverage $coverage, string $target) : void
Parameters
- $coverage : CodeCoverage
- $target : string
Tags
documentAsString()
private
documentAsString(DOMDocument $document) : string
Parameters
- $document : DOMDocument
Tags
Return values
stringinitTargetDirectory()
private
initTargetDirectory(string $directory) : void
Parameters
- $directory : string
Tags
processDirectory()
private
processDirectory(Directory $directory, Node $context) : void
Parameters
- $directory : Directory
- $context : Node
Tags
processFile()
private
processFile(File $file, Directory $context) : void
Parameters
- $file : File
- $context : Directory
Tags
processFunction()
private
processFunction(array<string|int, mixed> $function, Report $report) : void
Parameters
- $function : array<string|int, mixed>
- $report : Report
processTests()
private
processTests(array<string|int, mixed> $tests) : void
Parameters
- $tests : array<string|int, mixed>
processUnit()
private
processUnit(array<string|int, mixed> $unit, Report $report) : void
Parameters
- $unit : array<string|int, mixed>
- $report : Report
saveDocument()
private
saveDocument(DOMDocument $document, string $name) : void
Parameters
- $document : DOMDocument
- $name : string
Tags
setBuildInformation()
private
setBuildInformation() : void
setTotals()
private
setTotals(AbstractNode $node, Totals $totals) : void
Parameters
- $node : AbstractNode
- $totals : Totals
targetDirectory()
private
targetDirectory() : string