Skip to content

Commit ea23280

Browse files
committed
Skip tests on php 8.0 for AWS PHP SDK.
1 parent 22071ef commit ea23280

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

AwsS3V3AdapterTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@ protected function tearDown(): void
7979
self::$adapter = null;
8080
}
8181

82+
protected function setUp(): void
83+
{
84+
if (PHP_VERSION_ID < 801000) {
85+
$this->markTestSkipped('AWS does not support this anymore.');
86+
}
87+
88+
parent::setUp();
89+
}
90+
8291
private static function s3Client(): S3ClientInterface
8392
{
8493
if (static::$s3Client instanceof S3ClientInterface) {

0 commit comments

Comments
 (0)