Remove some dead code from RuleSetGenerator
parent
8a7f3a9a09
commit
9bd255d8f1
|
@ -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)
|
||||
{
|
||||
$unlockableMap = $request->getUnlockableMap();
|
||||
|
|
Loading…
Reference in New Issue