From afedf83f5d17ed6f3086802bebb1df603bacf59f Mon Sep 17 00:00:00 2001 From: Fabio Ivona Date: Thu, 23 Jun 2022 15:32:38 +0200 Subject: [PATCH] fix PhpUnit allowiing abstract testcases no more --- src/TestCases/IgnorableTestCase.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/TestCases/IgnorableTestCase.php b/src/TestCases/IgnorableTestCase.php index a2e9f5e9..dfe26889 100644 --- a/src/TestCases/IgnorableTestCase.php +++ b/src/TestCases/IgnorableTestCase.php @@ -8,8 +8,15 @@ use PHPUnit\Framework\TestCase; /** * @internal + * @phpstan-ignore-next-line */ -abstract class IgnorableTestCase extends TestCase +class IgnorableTestCase extends TestCase { - // .. + /** + * @test + */ + public function fake(): void + { + self::markTestIncomplete(); + } }