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
90
90
"Missing package%s: to use the %s command, run: \n" ,
91
91
$ packagesCount > 1 ? 's ' : '' ,
92
92
$ commandName
93
- //
94
93
);
95
94
96
95
if (!empty ($ packages )) {
Original file line number Diff line number Diff line change 5
5
use PHPUnit \Framework \TestCase ;
6
6
use Symfony \Bundle \MakerBundle \Command \MakerCommand ;
7
7
use Symfony \Bundle \MakerBundle \DependencyBuilder ;
8
- use Symfony \Bundle \MakerBundle \Generator ;
8
+ use Symfony \Bundle \MakerBundle \FileManager ;
9
9
use Symfony \Bundle \MakerBundle \MakerInterface ;
10
10
use Symfony \Component \Console \Tester \CommandTester ;
11
11
@@ -24,9 +24,9 @@ public function testExceptionOnMissingDependencies()
24
24
$ depBuilder ->addClassDependency ('Foo ' , 'foo-package ' );
25
25
});
26
26
27
- $ generator = $ this ->createMock (Generator ::class);
27
+ $ fileManager = $ this ->createMock (FileManager ::class);
28
28
29
- $ command = new MakerCommand ($ maker , $ generator );
29
+ $ command = new MakerCommand ($ maker , $ fileManager );
30
30
// needed because it's normally set by the Application
31
31
$ command ->setName ('make:foo ' );
32
32
$ tester = new CommandTester ($ command );
You can’t perform that action at this time.
0 commit comments