Skip to content

Commit 97bb308

Browse files
committed
fix: [AsyncAwsS3] update simpleS3 for test and adjust getPresignedUrl declaration
1 parent 93a7f14 commit 97bb308

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

S3ClientStub.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function getUrl(string $bucket, string $key): string
181181
return $this->actualClient->getUrl($bucket, $key);
182182
}
183183

184-
public function getPresignedUrl(string $bucket, string $key, ?DateTimeImmutable $expires = null): string
184+
public function getPresignedUrl(string $bucket, string $key, ?DateTimeImmutable $expires = null, ?string $versionId = null): string
185185
{
186186
return $this->actualClient->getPresignedUrl($bucket, $key, $expires);
187187
}

composer.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
"async-aws/s3": "^1.5 || ^2.0"
1616
},
1717
"require-dev": {
18-
"async-aws/simple-s3": "^1.1 || ^2.0"
18+
"async-aws/simple-s3": "^2.1"
1919
},
2020
"conflict": {
21-
"symfony/http-client": "<5.2",
22-
"async-aws/simple-s3": "<1.1"
21+
"symfony/http-client": "<5.2"
2322
},
2423
"license": "MIT",
2524
"authors": [

0 commit comments

Comments
 (0)