1
0
Fork 0

Add markers for leftover problems

pull/359/head
Jordi Boggiano 2012-02-23 23:21:51 +01:00
parent 1228c04984
commit 1bdab5c4c8
2 changed files with 2 additions and 0 deletions

View File

@ -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();
}

View File

@ -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 {