Skip to content

Commit

Permalink
Ensure simple-s3 1.1 is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Oct 20, 2022
1 parent f7d0b20 commit aa1d677
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"friendsofphp/php-cs-fixer": "^3.5",
"google/cloud-storage": "^1.23",
"async-aws/s3": "^1.5",
"async-aws/simple-s3": "^1.0",
"async-aws/simple-s3": "^1.1",
"sabre/dav": "^4.3.1"
},
"conflict": {
Expand Down
2 changes: 1 addition & 1 deletion src/AsyncAwsS3/S3ClientStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class S3ClientStub extends SimpleS3Client
*/
private $stagedResult = [];

public function __construct(S3Client $client)
public function __construct(SimpleS3Client $client)
{
$this->actualClient = $client;
parent::__construct([], null, new MockHttpClient());
Expand Down
5 changes: 3 additions & 2 deletions src/AsyncAwsS3/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
"async-aws/s3": "^1.5"
},
"require-dev": {
"async-aws/simple-s3": "^1.0"
"async-aws/simple-s3": "^1.1"
},
"conflict": {
"symfony/http-client": "<5.2"
"symfony/http-client": "<5.2",
"async-aws/simple-s3": "<1.1"
},
"license": "MIT",
"authors": [
Expand Down

0 comments on commit aa1d677

Please sign in to comment.