Allow downgrades and uninstalls in the default policy
parent
d3aa8336dc
commit
2056c4c732
|
@ -23,12 +23,12 @@ class DefaultPolicy implements PolicyInterface
|
||||||
{
|
{
|
||||||
public function allowUninstall()
|
public function allowUninstall()
|
||||||
{
|
{
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function allowDowngrade()
|
public function allowDowngrade()
|
||||||
{
|
{
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function versionCompare(PackageInterface $a, PackageInterface $b, $operator)
|
public function versionCompare(PackageInterface $a, PackageInterface $b, $operator)
|
||||||
|
|
Loading…
Reference in New Issue