1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 09:02:59 +00:00

Removed unused private functions

This commit is contained in:
Simon Berger 2020-09-11 22:52:21 +02:00
parent a6475a7118
commit 33d7a64df9
4 changed files with 0 additions and 52 deletions

View file

@ -331,16 +331,6 @@ abstract class Rule
return Problem::getPackageList($packages, $isVerbose);
}
private function getReplacedNames(PackageInterface $package)
{
$names = array();
foreach ($package->getReplaces() as $link) {
$names[] = $link->getTarget();
}
return $names;
}
private function deduplicateDefaultBranchAlias(PackageInterface $package)
{
if ($package instanceof AliasPackage && $package->getPrettyVersion() === VersionParser::DEFAULT_BRANCH_ALIAS) {