Skip to content

Commit

Permalink
Remove PHP checks (#46993)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored May 9, 2023
1 parent 476f3b5 commit 2341b8e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 22 deletions.
6 changes: 0 additions & 6 deletions tests/Database/DatabaseEloquentModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,6 @@ public function testDirtyOnCastedEncryptedArrayObject()
$this->assertTrue($model->isDirty('asEncryptedArrayObjectAttribute'));
}

/**
* @requires PHP >= 8.1
*/
public function testDirtyOnEnumCollectionObject()
{
$model = new EloquentModelCastingStub;
Expand All @@ -328,9 +325,6 @@ public function testDirtyOnEnumCollectionObject()
$this->assertTrue($model->isDirty('asEnumCollectionAttribute'));
}

/**
* @requires PHP >= 8.1
*/
public function testDirtyOnEnumArrayObject()
{
$model = new EloquentModelCastingStub;
Expand Down
3 changes: 0 additions & 3 deletions tests/Http/HttpRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -752,9 +752,6 @@ public function testDateMethodExceptionWhenFormatInvalid()
$request->date('date', 'invalid_format');
}

/**
* @requires PHP >= 8.1
*/
public function testEnumMethod()
{
$request = Request::create('/', 'GET', [
Expand Down
3 changes: 0 additions & 3 deletions tests/Routing/RoutingUrlGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -861,9 +861,6 @@ public function testSignedUrlParameterCannotBeNamedExpires()
Request::create($url->signedRoute('foo', ['expires' => 253402300799]));
}

/**
* @requires PHP >= 8.1
*/
public function testRouteGenerationWithBackedEnums()
{
$url = new UrlGenerator(
Expand Down
4 changes: 0 additions & 4 deletions tests/Support/SupportCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4692,8 +4692,6 @@ public function testCollectionFromTraversableWithKeys($collection)

/**
* @dataProvider collectionClassProvider
*
* @requires PHP >= 8.1
*/
public function testCollectionFromEnum($collection)
{
Expand All @@ -4703,8 +4701,6 @@ public function testCollectionFromEnum($collection)

/**
* @dataProvider collectionClassProvider
*
* @requires PHP >= 8.1
*/
public function testCollectionFromBackedEnum($collection)
{
Expand Down
3 changes: 0 additions & 3 deletions tests/Support/SupportHelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ public function testEWithInvalidCodePoints()
$this->assertEquals('f�� bar', e($str));
}

/**
* @requires PHP >= 8.1
*/
public function testEWithEnums()
{
$enumValue = StringBackedEnum::ADMIN_LABEL;
Expand Down
3 changes: 0 additions & 3 deletions tests/Support/SupportJsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ public function toArray()
);
}

/**
* @requires PHP >= 8.1
*/
public function testBackedEnums()
{
$this->assertSame('2', (string) Js::from(IntBackedEnum::TWO));
Expand Down

0 comments on commit 2341b8e

Please sign in to comment.