Merge pull request #8938 from Seldaek/drop-dead-code
Remove some dead code from RuleSetGeneratorpull/8940/head
commit
86e79fcce3
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue