From 0ee937ad745910b06897b51026e2bde91d4d4734 Mon Sep 17 00:00:00 2001 From: Frank de Jonge Date: Sat, 17 Aug 2024 14:47:17 +0200 Subject: [PATCH] Skip tests on php 8.0 for AWS PHP SDK. --- src/AwsS3V3/AwsS3V3AdapterTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/AwsS3V3/AwsS3V3AdapterTest.php b/src/AwsS3V3/AwsS3V3AdapterTest.php index 8d098aa5a..04daa6683 100644 --- a/src/AwsS3V3/AwsS3V3AdapterTest.php +++ b/src/AwsS3V3/AwsS3V3AdapterTest.php @@ -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) {