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