diff --git a/tests/ClassExtractorTest.php b/tests/ClassExtractorTest.php index 4d0ec97..0bc6851 100644 --- a/tests/ClassExtractorTest.php +++ b/tests/ClassExtractorTest.php @@ -9,8 +9,6 @@ use Cdn77\EntityFqnExtractor\Fixtures\SomeDirectory\ClassFixture; use Generator; -use const PHP_VERSION_ID; - final class ClassExtractorTest extends TestCaseBase { public function testGet(): void @@ -67,10 +65,7 @@ public function testGetThrows(string $expectedMessage, string $path): void /** @return Generator */ public function dataProviderGetThrows(): Generator { - if (PHP_VERSION_ID >= 80100) { - yield 'enum' => ['There is no class in a file', '/Fixtures/SomeDirectory/EnumFixture.php']; - } - + yield 'enum' => ['There is no class in a file', '/Fixtures/SomeDirectory/EnumFixture.php']; yield 'interface' => ['There is no class in a file', '/Fixtures/SomeDirectory/InterfaceFixture.php']; yield 'trait' => ['There is no class in a file', '/Fixtures/SomeDirectory/TraitFixture.php']; yield 'multiple classes' => [