diff --git a/src/Logging/JUnit/JunitXmlLogger.php b/src/Logging/JUnit/JunitXmlLogger.php index 75d547866b..f68bdc99a6 100644 --- a/src/Logging/JUnit/JunitXmlLogger.php +++ b/src/Logging/JUnit/JunitXmlLogger.php @@ -309,7 +309,6 @@ private function createDocument(): void $this->document->formatOutput = true; $this->root = $this->document->createElement('testsuites'); - $this->root->setAttribute('name', 'PHPUnit tests'); $this->document->appendChild($this->root); } diff --git a/tests/end-to-end/cli/no-log-no-cc.phpt b/tests/end-to-end/cli/no-log-no-cc.phpt index 41130e0f7a..adfacb3e39 100644 --- a/tests/end-to-end/cli/no-log-no-cc.phpt +++ b/tests/end-to-end/cli/no-log-no-cc.phpt @@ -22,7 +22,7 @@ print file_get_contents($logfile); unlink($logfile); --EXPECTF-- - + diff --git a/tests/end-to-end/data-provider/log-junit-isolation.phpt b/tests/end-to-end/data-provider/log-junit-isolation.phpt index 201b934e4b..3156f6d6cf 100644 --- a/tests/end-to-end/data-provider/log-junit-isolation.phpt +++ b/tests/end-to-end/data-provider/log-junit-isolation.phpt @@ -21,7 +21,7 @@ print file_get_contents($logfile); unlink($logfile); --EXPECTF-- - + diff --git a/tests/end-to-end/data-provider/log-junit.phpt b/tests/end-to-end/data-provider/log-junit.phpt index 68a0b77915..f38cfb07ad 100644 --- a/tests/end-to-end/data-provider/log-junit.phpt +++ b/tests/end-to-end/data-provider/log-junit.phpt @@ -23,7 +23,7 @@ print file_get_contents($logfile); unlink($logfile); --EXPECTF-- - + diff --git a/tests/end-to-end/logging/log-junit-to-file.phpt b/tests/end-to-end/logging/log-junit-to-file.phpt index 52e6b8d1c6..9d5657bbda 100644 --- a/tests/end-to-end/logging/log-junit-to-file.phpt +++ b/tests/end-to-end/logging/log-junit-to-file.phpt @@ -20,7 +20,7 @@ print file_get_contents($logfile); unlink($logfile); --EXPECTF-- - + diff --git a/tests/end-to-end/logging/log-junit-to-stdout.phpt b/tests/end-to-end/logging/log-junit-to-stdout.phpt index 79d75ba65a..f481658b6e 100644 --- a/tests/end-to-end/logging/log-junit-to-stdout.phpt +++ b/tests/end-to-end/logging/log-junit-to-stdout.phpt @@ -14,7 +14,7 @@ require_once __DIR__ . '/../../bootstrap.php'; (new PHPUnit\TextUI\Application)->run($_SERVER['argv']); --EXPECTF-- - + diff --git a/tests/end-to-end/logging/log-junit-with-progress-with-errors.phpt b/tests/end-to-end/logging/log-junit-with-progress-with-errors.phpt index aa006684ad..56b74113b7 100644 --- a/tests/end-to-end/logging/log-junit-with-progress-with-errors.phpt +++ b/tests/end-to-end/logging/log-junit-with-progress-with-errors.phpt @@ -42,7 +42,7 @@ TypeError: Cannot assign DateTime to property PHPUnit\TestFixture\TypeErrorTest: ERRORS! Tests: 1, Assertions: 0, Errors: 1. - + PHPUnit\TestFixture\TypeErrorTest::testMe diff --git a/tests/end-to-end/regression/5258.phpt b/tests/end-to-end/regression/5258.phpt index 330b6e873d..4d45223594 100644 --- a/tests/end-to-end/regression/5258.phpt +++ b/tests/end-to-end/regression/5258.phpt @@ -29,7 +29,7 @@ Time: %s, Memory: %s MB OK, but some tests were skipped! Tests: 2, Assertions: 1, Skipped: 1. - + diff --git a/tests/end-to-end/regression/5561.phpt b/tests/end-to-end/regression/5561.phpt index b66a3cb5c0..5c033944a5 100644 --- a/tests/end-to-end/regression/5561.phpt +++ b/tests/end-to-end/regression/5561.phpt @@ -14,7 +14,7 @@ require_once __DIR__ . '/../../bootstrap.php'; (new PHPUnit\TextUI\Application)->run($_SERVER['argv']); --EXPECTF-- - + PHPUnit\TestFixture\Issue5561\Issue5561Test::testOne%A diff --git a/tests/end-to-end/regression/5771.phpt b/tests/end-to-end/regression/5771.phpt index 0e55be247a..c9e6c1a972 100644 --- a/tests/end-to-end/regression/5771.phpt +++ b/tests/end-to-end/regression/5771.phpt @@ -14,7 +14,7 @@ require_once __DIR__ . '/../../bootstrap.php'; (new PHPUnit\TextUI\Application)->run($_SERVER['argv']); --EXPECTF-- - + PHPUnit\TestFixture\Issue5771\Issue5771Test::testOne%A