In
19680f886f, I forgot about my own TODO. At least, now I understand what
this line was about :P
"type" => "tests_finished",
"junit" => $junit->isEnabled() ? $junit : null,
]);
- //junit_init(); TODO is this needed?
+ $junit->clear();
break;
default:
send_message($workerSock, [
return $this->enabled;
}
+ public function clear(): void
+ {
+ $this->rootSuite = self::EMPTY_SUITE + ['name' => 'php'];
+ $this->suites = [];
+ }
+
public function saveXML(): void
{
if (!$this->enabled) {