diff --git a/ChangeLog-11.3.md b/ChangeLog-11.3.md index f6177ca096b..b869d35a33e 100644 --- a/ChangeLog-11.3.md +++ b/ChangeLog-11.3.md @@ -7,6 +7,7 @@ All notable changes of the PHPUnit 11.3 release series are documented in this fi ### Fixed * [#5874](https://github.com/sebastianbergmann/phpunit/issues/5874): Test Stub generated by return value generator for doubled method with `static` return type declaration is not properly initialized +* [#5931](https://github.com/sebastianbergmann/phpunit/pull/5931): Reverted addition of `name` property on `` element in JUnit XML logfile * [#5946](https://github.com/sebastianbergmann/phpunit/issues/5946): `Callback` throws a `TypeError` when checking a `callable` has variadic parameters ## [11.3.4] - 2024-09-09 diff --git a/src/Logging/JUnit/JunitXmlLogger.php b/src/Logging/JUnit/JunitXmlLogger.php index b884431497a..cc9efa6e362 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 c0f52b89666..a8cefc8cce7 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 201b934e4b8..3156f6d6cf8 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 68a0b779153..f38cfb07ad7 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 52e6b8d1c6b..9d5657bbdaf 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 79d75ba65ae..f481658b6e7 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 aa006684ada..56b74113b7e 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 330b6e873d6..4d45223594a 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 b66a3cb5c02..5c033944a5e 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 0e55be247a1..c9e6c1a972a 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