@@ -53,14 +53,14 @@ |
||
53 | 53 | // This has been observed when doing a "composer install" on an empty vendor directory. |
54 | 54 | // Let's ensure each package is represented only once. |
55 | 55 | $dedupPackages = []; |
56 | - foreach($unorderedPackagesList as $package) { |
|
56 | + foreach ($unorderedPackagesList as $package) { |
|
57 | 57 | $dedupPackages[$package->getName()] = $package; |
58 | 58 | } |
59 | 59 | $dedupPackages = array_values($dedupPackages); |
60 | 60 | |
61 | 61 | $orderedPackageList = PackagesOrderer::reorderPackages($dedupPackages); |
62 | 62 | |
63 | - $packages = array_filter($orderedPackageList, function (PackageInterface $package) { |
|
63 | + $packages = array_filter($orderedPackageList, function(PackageInterface $package) { |
|
64 | 64 | $packageInstallPath = $this->getInstallPath($package); |
65 | 65 | |
66 | 66 | return file_exists($packageInstallPath.'/discovery.json'); |