function Report::unitObject
2 calls to Report::unitObject()
- Report::classObject in vendor/
phpunit/ php-code-coverage/ src/ Report/ Xml/ Report.php - Report::traitObject in vendor/
phpunit/ php-code-coverage/ src/ Report/ Xml/ Report.php
File
-
vendor/
phpunit/ php-code-coverage/ src/ Report/ Xml/ Report.php, line 88
Class
- Report
- @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
Namespace
SebastianBergmann\CodeCoverage\Report\XmlCode
private function unitObject(string $tagName, $name) : Unit {
$node = $this->contextNode()
->appendChild($this->dom()
->createElementNS('https://schema.phpunit.de/coverage/1.0', $tagName));
return new Unit($node, $name);
}