Skip to content

Commit

Permalink
Skip tests on php 8.0 for AWS PHP SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Aug 17, 2024
1 parent c6cc4fe commit 0ee937a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/AwsS3V3/AwsS3V3AdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@ protected function tearDown(): void
self::$adapter = null;
}

protected function setUp(): void
{
if (PHP_VERSION_ID < 801000) {
$this->markTestSkipped('AWS does not support this anymore.');
}

parent::setUp();
}

private static function s3Client(): S3ClientInterface
{
if (static::$s3Client instanceof S3ClientInterface) {
Expand Down

0 comments on commit 0ee937a

Please sign in to comment.