Skip to content

Commit 2bd27a2

Browse files
committed
fix : improve phpdoc and sort use in RestoreCommandTest
1 parent a432a3e commit 2bd27a2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/Functional/Command/RestoreCommandTest.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
namespace MakinaCorpus\DbToolsBundle\Tests\Functional\Command;
66

7-
use MakinaCorpus\DbToolsBundle\Test\FunctionalKernelTestCase;
8-
use Symfony\Bundle\FrameworkBundle\Console\Application;
9-
use Symfony\Component\Console\Tester\CommandTester;
107
use MakinaCorpus\DbToolsBundle\Command\RestoreCommand;
118
use MakinaCorpus\DbToolsBundle\Restorer\AbstractRestorer;
129
use MakinaCorpus\DbToolsBundle\Restorer\RestorerFactory;
1310
use MakinaCorpus\DbToolsBundle\Storage\Storage;
11+
use MakinaCorpus\DbToolsBundle\Test\FunctionalKernelTestCase;
1412
use PHPUnit\Framework\TestCase;
13+
use Symfony\Bundle\FrameworkBundle\Console\Application;
14+
use Symfony\Component\Console\Tester\CommandTester;
1515

1616
class RestoreCommandTest extends FunctionalKernelTestCase
1717
{
@@ -33,9 +33,10 @@ public function testExecute(): void
3333
}
3434

3535
/**
36-
* Creates a command tester with mocked dependencies for listBackups method
36+
* Creates a command tester with mocked dependencies for listBackups method.
3737
*
38-
* @param array $backupFiles List of backup files to be returned by storage
38+
* @param array $backupFiles
39+
* List of backup files to be returned by storage.
3940
*/
4041
private function createCommandTester(array $backupFiles = []): CommandTester
4142
{

0 commit comments

Comments
 (0)