Skip to content

Commit 1b8734f

Browse files
committed
Fix test
1 parent bf35a10 commit 1b8734f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Dependency/DependencyDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function testDumpDependencies(): void
7575
$scopeFactory = $container->getByType(ScopeFactory::class);
7676

7777
/** @var FileFinder $fileFinder */
78-
$fileFinder = $container->getByType(FileFinder::class);
78+
$fileFinder = $container->getService('fileFinderAnalyse');
7979

8080
$dumper = new DependencyDumper(
8181
new DependencyResolver($fileHelper, $mockBroker, new ExportedNodeResolver(self::getContainer()->getByType(FileTypeMapper::class), new Standard())),

0 commit comments

Comments
 (0)