function Project::buildInformation
File
-
vendor/
phpunit/ php-code-coverage/ src/ Report/ Xml/ Project.php, line 30
Class
- Project
- @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
Namespace
SebastianBergmann\CodeCoverage\Report\XmlCode
public function buildInformation() : BuildInformation {
$buildNode = $this->dom()
->getElementsByTagNameNS('https://schema.phpunit.de/coverage/1.0', 'build')
->item(0);
if (!$buildNode) {
$buildNode = $this->dom()->documentElement
->appendChild($this->dom()
->createElementNS('https://schema.phpunit.de/coverage/1.0', 'build'));
}
return new BuildInformation($buildNode);
}