diff --git a/tests/Database/DatabaseEloquentModelTest.php b/tests/Database/DatabaseEloquentModelTest.php index a720c224a3a4..d176dd2c121c 100755 --- a/tests/Database/DatabaseEloquentModelTest.php +++ b/tests/Database/DatabaseEloquentModelTest.php @@ -307,9 +307,6 @@ public function testDirtyOnCastedEncryptedArrayObject() $this->assertTrue($model->isDirty('asEncryptedArrayObjectAttribute')); } - /** - * @requires PHP >= 8.1 - */ public function testDirtyOnEnumCollectionObject() { $model = new EloquentModelCastingStub; @@ -328,9 +325,6 @@ public function testDirtyOnEnumCollectionObject() $this->assertTrue($model->isDirty('asEnumCollectionAttribute')); } - /** - * @requires PHP >= 8.1 - */ public function testDirtyOnEnumArrayObject() { $model = new EloquentModelCastingStub; diff --git a/tests/Http/HttpRequestTest.php b/tests/Http/HttpRequestTest.php index 319c31dc9228..8f7e983dcfe5 100644 --- a/tests/Http/HttpRequestTest.php +++ b/tests/Http/HttpRequestTest.php @@ -752,9 +752,6 @@ public function testDateMethodExceptionWhenFormatInvalid() $request->date('date', 'invalid_format'); } - /** - * @requires PHP >= 8.1 - */ public function testEnumMethod() { $request = Request::create('/', 'GET', [ diff --git a/tests/Routing/RoutingUrlGeneratorTest.php b/tests/Routing/RoutingUrlGeneratorTest.php index 9909f9c06392..c565963358f1 100755 --- a/tests/Routing/RoutingUrlGeneratorTest.php +++ b/tests/Routing/RoutingUrlGeneratorTest.php @@ -861,9 +861,6 @@ public function testSignedUrlParameterCannotBeNamedExpires() Request::create($url->signedRoute('foo', ['expires' => 253402300799])); } - /** - * @requires PHP >= 8.1 - */ public function testRouteGenerationWithBackedEnums() { $url = new UrlGenerator( diff --git a/tests/Support/SupportCollectionTest.php b/tests/Support/SupportCollectionTest.php index 1c07bd115501..c1feb9ab4d5d 100755 --- a/tests/Support/SupportCollectionTest.php +++ b/tests/Support/SupportCollectionTest.php @@ -4692,8 +4692,6 @@ public function testCollectionFromTraversableWithKeys($collection) /** * @dataProvider collectionClassProvider - * - * @requires PHP >= 8.1 */ public function testCollectionFromEnum($collection) { @@ -4703,8 +4701,6 @@ public function testCollectionFromEnum($collection) /** * @dataProvider collectionClassProvider - * - * @requires PHP >= 8.1 */ public function testCollectionFromBackedEnum($collection) { diff --git a/tests/Support/SupportHelpersTest.php b/tests/Support/SupportHelpersTest.php index aa1dda34cd74..45c106e6845b 100755 --- a/tests/Support/SupportHelpersTest.php +++ b/tests/Support/SupportHelpersTest.php @@ -43,9 +43,6 @@ public function testEWithInvalidCodePoints() $this->assertEquals('f�� bar', e($str)); } - /** - * @requires PHP >= 8.1 - */ public function testEWithEnums() { $enumValue = StringBackedEnum::ADMIN_LABEL; diff --git a/tests/Support/SupportJsTest.php b/tests/Support/SupportJsTest.php index 0fb2b48d0995..57b3299e8d6c 100644 --- a/tests/Support/SupportJsTest.php +++ b/tests/Support/SupportJsTest.php @@ -125,9 +125,6 @@ public function toArray() ); } - /** - * @requires PHP >= 8.1 - */ public function testBackedEnums() { $this->assertSame('2', (string) Js::from(IntBackedEnum::TWO));