add phpunit code coverage driver

This commit is contained in:
Andrew Dolgov
2023-12-02 17:45:25 +03:00
parent 2b8e344532
commit 09898ccbc8
38 changed files with 647 additions and 407 deletions
@@ -37,7 +37,7 @@ final class Coverage
{
$this->contextNode = $context;
$this->writer = new XMLWriter();
$this->writer = new XMLWriter;
$this->writer->openMemory();
$this->writer->startElementNS(null, $context->nodeName, 'https://schema.phpunit.de/coverage/1.0');
$this->writer->writeAttribute('nr', $line);