Skip to content

Commit

Permalink
CI fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Nov 14, 2023
1 parent 03be643 commit 2a1784e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AwsS3V3Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public function temporaryUrl(string $path, DateTimeInterface $expiresAt, Config
$presignedRequestOptions = $config->get('presigned_request_options', []);
$request = $this->client->createPresignedRequest($command, $expiresAt, $presignedRequestOptions);

return (string)$request->getUri();
return (string) $request->getUri();
} catch (Throwable $exception) {
throw UnableToGenerateTemporaryUrl::dueToError($path, $exception);
}
Expand Down
7 changes: 5 additions & 2 deletions AwsS3V3AdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@
use League\Flysystem\UnableToCheckFileExistence;
use League\Flysystem\UnableToDeleteFile;
use League\Flysystem\UnableToMoveFile;
use League\Flysystem\UnableToProvideChecksum;
use League\Flysystem\UnableToRetrieveMetadata;
use League\Flysystem\UnableToWriteFile;
use League\Flysystem\Visibility;
use RuntimeException;

use function file_get_contents;
use function getenv;
use function iterator_to_array;

Expand Down Expand Up @@ -125,6 +123,7 @@ public function writing_a_file_with_explicit_mime_type(): void

/**
* @test
*
* @see https://github.com/thephpleague/flysystem-aws-s3-v3/issues/291
*/
public function issue_291(): void
Expand Down Expand Up @@ -226,6 +225,7 @@ public function fetching_unknown_mime_type_of_a_file(): void

/**
* @test
*
* @dataProvider dpFailingMetadataGetters
*/
public function failing_to_retrieve_metadata(Exception $exception, string $getterName): void
Expand Down Expand Up @@ -264,6 +264,7 @@ public function failing_to_check_for_file_existence(): void

/**
* @test
*
* @dataProvider casesWhereHttpStreamingInfluencesSeekability
*/
public function streaming_reads_are_not_seekable_and_non_streaming_are(bool $streaming, bool $seekable): void
Expand All @@ -290,6 +291,7 @@ public static function casesWhereHttpStreamingInfluencesSeekability(): Generator

/**
* @test
*
* @dataProvider casesWhereHttpStreamingInfluencesSeekability
*/
public function configuring_http_streaming_via_options(bool $streaming): void
Expand All @@ -306,6 +308,7 @@ public function configuring_http_streaming_via_options(bool $streaming): void

/**
* @test
*
* @dataProvider casesWhereHttpStreamingInfluencesSeekability
*/
public function use_globally_configured_options(bool $streaming): void
Expand Down

0 comments on commit 2a1784e

Please sign in to comment.