1
0
Fork 0

Remove special handling of root package branch-aliases

pull/668/merge
Jordi Boggiano 2012-05-09 18:03:35 +02:00
parent 6864555aa4
commit 872293e8af
1 changed files with 0 additions and 10 deletions

View File

@ -93,16 +93,6 @@ class RootPackageLoader extends ArrayLoader
$package->setRepositories($config['repositories']); $package->setRepositories($config['repositories']);
} }
if (isset($config['extra']['branch-alias'][$version])
&& substr($config['extra']['branch-alias'][$version], -4) === '-dev'
) {
$targetBranch = $config['extra']['branch-alias'][$version];
$normalized = $this->versionParser->normalizeBranch(substr($targetBranch, 0, -4));
$version = preg_replace('{(\.9{7})+}', '.x', $normalized);
return new AliasPackage($package, $normalized, $version);
}
return $package; return $package;
} }
} }