File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff 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 )) {
Original file line number Diff line number Diff line change 55use PHPUnit \Framework \TestCase ;
66use Symfony \Bundle \MakerBundle \Command \MakerCommand ;
77use Symfony \Bundle \MakerBundle \DependencyBuilder ;
8- use Symfony \Bundle \MakerBundle \Generator ;
8+ use Symfony \Bundle \MakerBundle \FileManager ;
99use Symfony \Bundle \MakerBundle \MakerInterface ;
1010use 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 );
You can’t perform that action at this time.
0 commit comments