Skip to content

Commit 2341b8e

Browse files
authored
Remove PHP checks (#46993)
1 parent 476f3b5 commit 2341b8e

File tree

6 files changed

+0
-22
lines changed

6 files changed

+0
-22
lines changed

tests/Database/DatabaseEloquentModelTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,6 @@ public function testDirtyOnCastedEncryptedArrayObject()
307307
$this->assertTrue($model->isDirty('asEncryptedArrayObjectAttribute'));
308308
}
309309

310-
/**
311-
* @requires PHP >= 8.1
312-
*/
313310
public function testDirtyOnEnumCollectionObject()
314311
{
315312
$model = new EloquentModelCastingStub;
@@ -328,9 +325,6 @@ public function testDirtyOnEnumCollectionObject()
328325
$this->assertTrue($model->isDirty('asEnumCollectionAttribute'));
329326
}
330327

331-
/**
332-
* @requires PHP >= 8.1
333-
*/
334328
public function testDirtyOnEnumArrayObject()
335329
{
336330
$model = new EloquentModelCastingStub;

tests/Http/HttpRequestTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -752,9 +752,6 @@ public function testDateMethodExceptionWhenFormatInvalid()
752752
$request->date('date', 'invalid_format');
753753
}
754754

755-
/**
756-
* @requires PHP >= 8.1
757-
*/
758755
public function testEnumMethod()
759756
{
760757
$request = Request::create('/', 'GET', [

tests/Routing/RoutingUrlGeneratorTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -861,9 +861,6 @@ public function testSignedUrlParameterCannotBeNamedExpires()
861861
Request::create($url->signedRoute('foo', ['expires' => 253402300799]));
862862
}
863863

864-
/**
865-
* @requires PHP >= 8.1
866-
*/
867864
public function testRouteGenerationWithBackedEnums()
868865
{
869866
$url = new UrlGenerator(

tests/Support/SupportCollectionTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4692,8 +4692,6 @@ public function testCollectionFromTraversableWithKeys($collection)
46924692

46934693
/**
46944694
* @dataProvider collectionClassProvider
4695-
*
4696-
* @requires PHP >= 8.1
46974695
*/
46984696
public function testCollectionFromEnum($collection)
46994697
{
@@ -4703,8 +4701,6 @@ public function testCollectionFromEnum($collection)
47034701

47044702
/**
47054703
* @dataProvider collectionClassProvider
4706-
*
4707-
* @requires PHP >= 8.1
47084704
*/
47094705
public function testCollectionFromBackedEnum($collection)
47104706
{

tests/Support/SupportHelpersTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ public function testEWithInvalidCodePoints()
4343
$this->assertEquals('f�� bar', e($str));
4444
}
4545

46-
/**
47-
* @requires PHP >= 8.1
48-
*/
4946
public function testEWithEnums()
5047
{
5148
$enumValue = StringBackedEnum::ADMIN_LABEL;

tests/Support/SupportJsTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,6 @@ public function toArray()
125125
);
126126
}
127127

128-
/**
129-
* @requires PHP >= 8.1
130-
*/
131128
public function testBackedEnums()
132129
{
133130
$this->assertSame('2', (string) Js::from(IntBackedEnum::TWO));

0 commit comments

Comments
 (0)