1
0
Fork 0

Remove dead code, fixes #9277

pull/9280/head
Jordi Boggiano 2020-10-12 15:22:21 +02:00
parent 6bf136489f
commit bc1cb1636d
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 4 deletions

View File

@ -449,10 +449,7 @@ EOT
$existingPackages[] = $package->getName(); $existingPackages[] = $package->getName();
} }
} }
foreach ($requires as $requiredPackage) { unset($composer, $installedRepo);
$existingPackages[] = substr($requiredPackage, 0, strpos($requiredPackage, ' '));
}
unset($composer, $installedRepo, $requiredPackage);
$io = $this->getIO(); $io = $this->getIO();
while (null !== $package = $io->ask('Search for a package: ')) { while (null !== $package = $io->ask('Search for a package: ')) {