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:
parent
a6475a7118
commit
33d7a64df9
4 changed files with 0 additions and 52 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue