Skip to content

Commit

Permalink
DevKit updates for 4.x branch (#2450)
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Langlet <[email protected]>
  • Loading branch information
SonataCI and VincentLanglet authored Apr 3, 2024
1 parent 431d171 commit 1f8bee3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
'no_useless_return' => true,
'no_superfluous_elseif' => true,
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true, 'remove_inheritdoc' => true],
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
'nullable_type_declaration_for_default_null_value' => true,
'ordered_class_elements' => true,
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['class', 'function', 'const']],
'phpdoc_order' => ['order' => ['var', 'param', 'throws', 'return', 'phpstan-var', 'psalm-var', 'phpstan-param', 'psalm-param', 'phpstan-return', 'psalm-return']],
Expand Down
6 changes: 3 additions & 3 deletions tests/Thumbnail/FormatThumbnailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public function testGenerate(): void
$referenceFile = new File('myfile', $filesystem);

$formats = [
'admin' => ['height' => 50, 'width' => 50, 'quality' => 100, 'resizer' => null],
'mycontext_medium' => ['height' => 500, 'width' => 500, 'quality' => 100, 'resizer' => null],
'anothercontext_large' => ['height' => 500, 'width' => 500, 'quality' => 100, 'resizer' => null],
'admin' => ['height' => 50, 'width' => 50, 'quality' => 100, 'resizer' => null],
'mycontext_medium' => ['height' => 500, 'width' => 500, 'quality' => 100, 'resizer' => null],
'anothercontext_large' => ['height' => 500, 'width' => 500, 'quality' => 100, 'resizer' => null],
];

$resizer = $this->createMock(ResizerInterface::class);
Expand Down
6 changes: 3 additions & 3 deletions tests/Thumbnail/LiipImagineThumbnailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public function testGenerate(): void
$referenceFile = new File('myfile', $filesystem);

$formats = [
'admin' => ['height' => 50, 'width' => 50, 'quality' => 100],
'mycontext_medium' => ['height' => 500, 'width' => 500, 'quality' => 100],
'anothercontext_large' => ['height' => 500, 'width' => 500, 'quality' => 100],
'admin' => ['height' => 50, 'width' => 50, 'quality' => 100],
'mycontext_medium' => ['height' => 500, 'width' => 500, 'quality' => 100],
'anothercontext_large' => ['height' => 500, 'width' => 500, 'quality' => 100],
];

$media = new Media();
Expand Down

0 comments on commit 1f8bee3

Please sign in to comment.