diff --git a/tests/end-to-end/_files/TestSizeConfiguredWithAnnotationTest.php b/tests/end-to-end/_files/TestSizeConfiguredWithAnnotationTest.php deleted file mode 100644 index 091b34ee81..0000000000 --- a/tests/end-to-end/_files/TestSizeConfiguredWithAnnotationTest.php +++ /dev/null @@ -1,23 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ -namespace PHPUnit\DeprecatedAnnotationsTestFixture; - -use PHPUnit\Framework\TestCase; - -/** - * @small - */ -final class TestSizeConfiguredWithAnnotationTest extends TestCase -{ - public function testOne(): void - { - $this->assertTrue(true); - } -} diff --git a/tests/end-to-end/metadata/test-size-configured-with-annotation.phpt b/tests/end-to-end/metadata/test-size-configured-with-annotation.phpt deleted file mode 100644 index 6682fb8e2e..0000000000 --- a/tests/end-to-end/metadata/test-size-configured-with-annotation.phpt +++ /dev/null @@ -1,38 +0,0 @@ ---TEST-- -The right events are emitted in the right order for a successful test that has a size that is configured with annotation ---FILE-- -run($_SERVER['argv']); - -print file_get_contents($traceFile); - -unlink($traceFile); ---EXPECTF-- -PHPUnit Started (PHPUnit %s using %s) -Test Runner Configured -Test Runner Triggered Deprecation (Metadata found in doc-comment for class PHPUnit\DeprecatedAnnotationsTestFixture\TestSizeConfiguredWithAnnotationTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.) -Test Suite Loaded (1 test) -Event Facade Sealed -Test Runner Started -Test Suite Sorted -Test Runner Execution Started (1 test) -Test Suite Started (PHPUnit\DeprecatedAnnotationsTestFixture\TestSizeConfiguredWithAnnotationTest, 1 test) -Test Preparation Started (PHPUnit\DeprecatedAnnotationsTestFixture\TestSizeConfiguredWithAnnotationTest::testOne) -Test Prepared (PHPUnit\DeprecatedAnnotationsTestFixture\TestSizeConfiguredWithAnnotationTest::testOne) -Test Passed (PHPUnit\DeprecatedAnnotationsTestFixture\TestSizeConfiguredWithAnnotationTest::testOne) -Test Finished (PHPUnit\DeprecatedAnnotationsTestFixture\TestSizeConfiguredWithAnnotationTest::testOne) -Test Suite Finished (PHPUnit\DeprecatedAnnotationsTestFixture\TestSizeConfiguredWithAnnotationTest, 1 test) -Test Runner Execution Finished -Test Runner Finished -PHPUnit Finished (Shell Exit Code: 0) diff --git a/tests/end-to-end/regression/5795.phpt b/tests/end-to-end/regression/5795.phpt deleted file mode 100644 index 512de1f5be..0000000000 --- a/tests/end-to-end/regression/5795.phpt +++ /dev/null @@ -1,27 +0,0 @@ ---TEST-- -https://github.com/sebastianbergmann/phpunit/issues/5795 ---FILE-- -run($_SERVER['argv']); ---EXPECTF-- -PHPUnit %s by Sebastian Bergmann and contributors. - -Runtime: %s - -... 3 / 3 (100%) - -Time: %s, Memory: %s - -Issue5795 (PHPUnit\TestFixture\Issue5795\Issue5795) - ✔ This test should make phpunit spit a PHP Warning ! with data set #0 - ✔ This test should make phpunit spit a PHP Warning ! with data set #1 - ✔ This test should make phpunit spit a PHP Warning ! with data set #2 - -OK (3 tests, 3 assertions) diff --git a/tests/end-to-end/regression/5795/Issue5795Test.php b/tests/end-to-end/regression/5795/Issue5795Test.php deleted file mode 100644 index b39f05d86c..0000000000 --- a/tests/end-to-end/regression/5795/Issue5795Test.php +++ /dev/null @@ -1,27 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ -namespace PHPUnit\TestFixture\Issue5795; - -use PHPUnit\Framework\TestCase; - -final class Issue5795Test extends TestCase -{ - /** - * @testWith [1] - * [2] - * [3] - * - * @testdox This test should make phpunit spit a PHP Warning ! - */ - public function testExample($arg): void - { - $this->assertIsInt($arg); - } -}