diff --git a/Imagine/Cache/Resolver/CacheResolver.php b/Imagine/Cache/Resolver/CacheResolver.php index 9b72e271c..b851900c1 100644 --- a/Imagine/Cache/Resolver/CacheResolver.php +++ b/Imagine/Cache/Resolver/CacheResolver.php @@ -228,9 +228,9 @@ protected function configureOptions(OptionsResolver $resolver) ]); $allowedTypesList = [ - 'global_prefix' => 'string', - 'prefix' => 'string', - 'index_key' => 'string', + 'global_prefix' => 'string', + 'prefix' => 'string', + 'index_key' => 'string', ]; foreach ($allowedTypesList as $option => $allowedTypes) { diff --git a/Imagine/Cache/Resolver/PsrCacheResolver.php b/Imagine/Cache/Resolver/PsrCacheResolver.php index 392c38179..c34b61f54 100644 --- a/Imagine/Cache/Resolver/PsrCacheResolver.php +++ b/Imagine/Cache/Resolver/PsrCacheResolver.php @@ -239,9 +239,9 @@ private function configureOptions(OptionsResolver $resolver) ]); $allowedTypesList = [ - 'global_prefix' => 'string', - 'prefix' => 'string', - 'index_key' => 'string', + 'global_prefix' => 'string', + 'prefix' => 'string', + 'index_key' => 'string', ]; foreach ($allowedTypesList as $option => $allowedTypes) { diff --git a/Tests/Imagine/Filter/Loader/ScaleFilterLoaderTest.php b/Tests/Imagine/Filter/Loader/ScaleFilterLoaderTest.php index 653cda29a..f54a9f62d 100644 --- a/Tests/Imagine/Filter/Loader/ScaleFilterLoaderTest.php +++ b/Tests/Imagine/Filter/Loader/ScaleFilterLoaderTest.php @@ -59,7 +59,7 @@ public function testItShouldPreserveRatio(): void ->willReturn($image); $loader->load($image, [ - 'to' => 1.0, + 'to' => 1.0, ]); } diff --git a/Tests/Service/FilterServiceTest.php b/Tests/Service/FilterServiceTest.php index 1c019cd0a..1b3b8fd6a 100644 --- a/Tests/Service/FilterServiceTest.php +++ b/Tests/Service/FilterServiceTest.php @@ -579,8 +579,8 @@ private function expectFilterManagerApplyFilter(bool $webpGenerate, BinaryInterf ->withConsecutive( [$binary, self::FILTER, $runtimeOptions], [$binary, self::FILTER, [ - 'format' => 'webp', - ] + self::WEBP_OPTIONS + $runtimeOptions] + 'format' => 'webp', + ] + self::WEBP_OPTIONS + $runtimeOptions] ) ->willReturn($binary); } else {