From 1bdab5c4c8db9c3ccc5543e2dbda67bb53729a49 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 23 Feb 2012 23:21:51 +0100 Subject: [PATCH] Add markers for leftover problems --- src/Composer/Package/Locker.php | 1 + src/Composer/Repository/FilesystemRepository.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Composer/Package/Locker.php b/src/Composer/Package/Locker.php index 81843e8c1..db47ce35e 100644 --- a/src/Composer/Package/Locker.php +++ b/src/Composer/Package/Locker.php @@ -139,6 +139,7 @@ class Locker if ($package->isDev()) { $spec['source-reference'] = $package->getSourceReference(); } + // TODO discriminate between really installed as alias and installed as real package if ($package->getAlias()) { $spec['alias'] = $package->getAlias(); } diff --git a/src/Composer/Repository/FilesystemRepository.php b/src/Composer/Repository/FilesystemRepository.php index 7dc4e04a9..6e74e3fe6 100644 --- a/src/Composer/Repository/FilesystemRepository.php +++ b/src/Composer/Repository/FilesystemRepository.php @@ -56,6 +56,7 @@ class FilesystemRepository extends ArrayRepository implements WritableRepository $loader = new ArrayLoader(); foreach ($packages as $package) { $package = $loader->load($package); + // TODO discriminate between really installed as alias and installed as real package if ($package->getAlias()) { $this->addPackage($this->createAliasPackage($package)); } else {