Show real version instead of self.version in suggest
parent
e74e218bdb
commit
870d745475
|
@ -166,6 +166,11 @@ class ArrayLoader
|
|||
}
|
||||
|
||||
if (isset($config['suggest']) && is_array($config['suggest'])) {
|
||||
foreach ($config['suggest'] as $target => $reason) {
|
||||
if ('self.version' === trim($reason)) {
|
||||
$config['suggest'][$target] = $package->getPrettyVersion();
|
||||
}
|
||||
}
|
||||
$package->setSuggests($config['suggest']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue