1
0
Fork 0

Merge pull request #8938 from Seldaek/drop-dead-code

Remove some dead code from RuleSetGenerator
pull/8940/head
Nils Adermann 2020-06-02 15:49:24 +02:00 committed by GitHub
commit 86e79fcce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 14 deletions

View File

@ -215,20 +215,6 @@ class RuleSetGenerator
} }
} }
protected function obsoleteImpossibleForAlias($package, $provider)
{
$packageIsAlias = $package instanceof AliasPackage;
$providerIsAlias = $provider instanceof AliasPackage;
$impossible = (
($packageIsAlias && $package->getAliasOf() === $provider) ||
($providerIsAlias && $provider->getAliasOf() === $package) ||
($packageIsAlias && $providerIsAlias && $provider->getAliasOf() === $package->getAliasOf())
);
return $impossible;
}
protected function addRulesForRequest(Request $request, $ignorePlatformReqs) protected function addRulesForRequest(Request $request, $ignorePlatformReqs)
{ {
$unlockableMap = $request->getUnlockableMap(); $unlockableMap = $request->getUnlockableMap();