Skip to content

Commit b3bc1f4

Browse files
lukmziggithub-actions[bot]
authored andcommitted
Apply php-cs-fixer changes
1 parent b9b0ec7 commit b3bc1f4

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/Util/Trait/StreamedResponseTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
namespace Pimcore\Bundle\StudioBackendBundle\Util\Trait;
1515

16+
use Closure;
1617
use League\Flysystem\FilesystemException;
1718
use League\Flysystem\FilesystemOperator;
1819
use Pimcore\Bundle\StudioBackendBundle\Exception\Api\ElementStreamResourceNotFoundException;
@@ -23,7 +24,6 @@
2324
use Pimcore\Model\Asset\Thumbnail\ImageThumbnailInterface;
2425
use Pimcore\Model\Asset\Video;
2526
use Pimcore\Model\Asset\Video\ImageThumbnailInterface as VideoImageThumbnailInterface;
26-
use Closure;
2727
use Symfony\Component\HttpFoundation\StreamedResponse;
2828
use function is_resource;
2929
use function sprintf;

tests/Unit/Export/Service/DownloadServiceTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
*/
3333
final class DownloadServiceTest extends Unit
3434
{
35-
3635
/**
3736
* @throws Exception
3837
*/
@@ -65,7 +64,6 @@ public function testDownloadResourceReturnsStreamedResponse(): void
6564
$this->assertInstanceOf(StreamedResponse::class, $response);
6665
}
6766

68-
6967
/**
7068
* @throws Exception
7169
*/

tests/Unit/Util/Trait/StreamedResponseTraitTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@
1313

1414
namespace Pimcore\Bundle\StudioBackendBundle\Tests\Unit\Util\Trait;
1515

16-
use Codeception\Test\Unit;
1716
use Closure;
17+
use Codeception\Test\Unit;
1818
use Exception;
1919
use League\Flysystem\FilesystemOperator;
2020
use League\Flysystem\UnableToReadFile;
2121
use Pimcore\Bundle\StudioBackendBundle\Exception\Api\StreamResourceNotFoundException;
2222
use Pimcore\Bundle\StudioBackendBundle\Util\Constant\HttpResponseHeaders;
2323
use Pimcore\Bundle\StudioBackendBundle\Util\Trait\StreamedResponseTrait;
2424
use Symfony\Component\HttpFoundation\StreamedResponse;
25+
use function strlen;
2526

2627
/**
2728
* @internal

0 commit comments

Comments
 (0)