Fix 5.3 build
parent
4b6c25d4bc
commit
e4b495ca16
|
@ -442,7 +442,7 @@ EOT
|
|||
// Collect existing packages
|
||||
$composer = $this->getComposer(false);
|
||||
$installedRepo = $composer ? $composer->getRepositoryManager()->getLocalRepository() : null;
|
||||
$existingPackages = [];
|
||||
$existingPackages = array();
|
||||
if ($installedRepo) {
|
||||
foreach ($installedRepo->getPackages() as $package) {
|
||||
$existingPackages[] = $package->getName();
|
||||
|
|
Loading…
Reference in New Issue