Skip to content

Commit

Permalink
Merge pull request #52 from astyczen/composer_2_compatibility_fixes
Browse files Browse the repository at this point in the history
Composer repos check removed as not needed
  • Loading branch information
AydinHassan authored Nov 6, 2020
2 parents 9c85630 + 2fe36a7 commit 03e455b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/CoreManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,7 @@ public function checkCoreDependencies(InstallerEvent $event)
$localRepo = $this->composer->getRepositoryManager()->getLocalRepository();
$installedRepo = new CompositeRepository(array($localRepo, $platformRepo));
$repositories = new CompositeRepository(
array_merge(
array($installedRepo),
$this->composer->getRepositoryManager()->getRepositories()
)
array($installedRepo)
);
foreach ($repositories->getRepositories() as $repository) {
foreach ($repository->getPackages() as $package) {
Expand Down

0 comments on commit 03e455b

Please sign in to comment.