function JunitXmlLogger::createDocument
1 call to JunitXmlLogger::createDocument()
- JunitXmlLogger::__construct in vendor/
phpunit/ phpunit/ src/ Logging/ JUnit/ JunitXmlLogger.php
File
-
vendor/
phpunit/ phpunit/ src/ Logging/ JUnit/ JunitXmlLogger.php, line 306
Class
- JunitXmlLogger
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Logging\JUnitCode
private function createDocument() : void {
$this->document = new DOMDocument('1.0', 'UTF-8');
$this->document->formatOutput = true;
$this->root = $this->document
->createElement('testsuites');
$this->document
->appendChild($this->root);
}