We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e103118 commit eb22cf5Copy full SHA for eb22cf5
1 file changed
tests/Composer/TestCase.php
@@ -280,13 +280,13 @@ protected function createComposerMock(
280
$installationManager
281
->method('getInstallPath')
282
->willReturnCallback(
283
- static function (PackageInterface $package) use ($sourcePath, $rootPath) {
+ static function (PackageInterface $package) use ($sourcePath, $rootPath) {
284
if ($package instanceof RootPackageInterface) {
285
return $rootPath;
286
}
287
return str_replace('test/', '', "$sourcePath/{$package->getName()}");
288
289
- );
+ );
290
291
$eventDispatcher = $this
292
->getMockBuilder(EventDispatcher::class)
0 commit comments