diff --git a/tests/integration/database/midgard/ORMTest.php b/tests/integration/database/midgard/ORMTest.php index 8bb773373..568f04283 100644 --- a/tests/integration/database/midgard/ORMTest.php +++ b/tests/integration/database/midgard/ORMTest.php @@ -643,10 +643,6 @@ public function testToArrayWithNullRelatedRecord(): void */ public function testEnumCasting(): void { - if (PHP_VERSION_ID < 80100) { - $this->markTestSkipped('This feature requires PHP 8.1+'); - } - $enum = Enum::get(1); $this->assertIsObject($enum->value); diff --git a/tests/unit/classes/preload/PreloaderGeneratorTest.php b/tests/unit/classes/preload/PreloaderGeneratorTest.php index 8c872017a..1039c5ee2 100644 --- a/tests/unit/classes/preload/PreloaderGeneratorTest.php +++ b/tests/unit/classes/preload/PreloaderGeneratorTest.php @@ -283,10 +283,6 @@ public function testGeneratePreloaderWithClassWithTypedUnionProperties(): void */ public function testGeneratePreloaderWithClassWithTypedIntersectionProperties(): void { - if (PHP_VERSION_ID < 80100) { - $this->markTestSkipped('This feature requires PHP 8.1+'); - } - $classPath = __DIR__; $expectedClassLoader = <<<EOF diff --git a/tests/unit/database/query/compilers/BaseCompilerTest.php b/tests/unit/database/query/compilers/BaseCompilerTest.php index 86bba52cb..35553834c 100644 --- a/tests/unit/database/query/compilers/BaseCompilerTest.php +++ b/tests/unit/database/query/compilers/BaseCompilerTest.php @@ -2048,10 +2048,6 @@ public function testDateTimeParameter(): void */ public function testEnumParameter(): void { - if (PHP_VERSION_ID < 80100) { - $this->markTestSkipped('This feature requires PHP 8.1+'); - } - $query = $this->getBuilder(); $query->where('foo', '=', FooEnum::ONE); @@ -2067,10 +2063,6 @@ public function testEnumParameter(): void */ public function testBackedEnumParameter(): void { - if (PHP_VERSION_ID < 80100) { - $this->markTestSkipped('This feature requires PHP 8.1+'); - } - $query = $this->getBuilder(); $query->where('foo', '=', BarEnum::ONE); diff --git a/tests/unit/validator/rules/EnumTest.php b/tests/unit/validator/rules/EnumTest.php index d87532b0b..fd6dadef9 100644 --- a/tests/unit/validator/rules/EnumTest.php +++ b/tests/unit/validator/rules/EnumTest.php @@ -36,16 +36,6 @@ enum BarEnum: int */ class EnumTest extends TestCase { - /** - *{@inheritDoc} - */ - public function setup(): void - { - if (PHP_VERSION_ID < 80100) { - $this->markTestSkipped('This feature requires PHP 8.1+'); - } - } - /** * */