Skip to content

Commit 14fa7ef

Browse files
committed
fixing test + phpcs
1 parent 9969e32 commit 14fa7ef

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/DependencyBuilder.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public function getMissingPackagesMessage(string $commandName): string
9090
"Missing package%s: to use the %s command, run:\n",
9191
$packagesCount > 1 ? 's' : '',
9292
$commandName
93-
//
9493
);
9594

9695
if (!empty($packages)) {

tests/Command/MakerCommandTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use PHPUnit\Framework\TestCase;
66
use Symfony\Bundle\MakerBundle\Command\MakerCommand;
77
use Symfony\Bundle\MakerBundle\DependencyBuilder;
8-
use Symfony\Bundle\MakerBundle\Generator;
8+
use Symfony\Bundle\MakerBundle\FileManager;
99
use Symfony\Bundle\MakerBundle\MakerInterface;
1010
use Symfony\Component\Console\Tester\CommandTester;
1111

@@ -24,9 +24,9 @@ public function testExceptionOnMissingDependencies()
2424
$depBuilder->addClassDependency('Foo', 'foo-package');
2525
});
2626

27-
$generator = $this->createMock(Generator::class);
27+
$fileManager = $this->createMock(FileManager::class);
2828

29-
$command = new MakerCommand($maker, $generator);
29+
$command = new MakerCommand($maker, $fileManager);
3030
// needed because it's normally set by the Application
3131
$command->setName('make:foo');
3232
$tester = new CommandTester($command);

0 commit comments

Comments
 (0)