Skip to content

Commit

Permalink
adjust indentations to latest php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Mar 23, 2024
1 parent 6557446 commit d68559a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Imagine/Cache/Resolver/CacheResolver.php
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions Imagine/Cache/Resolver/PsrCacheResolver.php
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion Tests/Imagine/Filter/Loader/ScaleFilterLoaderTest.php
Expand Up @@ -59,7 +59,7 @@ public function testItShouldPreserveRatio(): void
->willReturn($image);

$loader->load($image, [
'to' => 1.0,
'to' => 1.0,
]);
}

Expand Down
4 changes: 2 additions & 2 deletions Tests/Service/FilterServiceTest.php
Expand Up @@ -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 {
Expand Down

0 comments on commit d68559a

Please sign in to comment.