Avoid calling findPackage for non-platform packages
parent
4c8e41d9a9
commit
d73cef3fb4
|
@ -90,7 +90,7 @@ EOT
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
foreach ($package['suggest'] as $suggestion => $reason) {
|
foreach ($package['suggest'] as $suggestion => $reason) {
|
||||||
if (null !== $platform->findPackage($suggestion, '*')) {
|
if (preg_match(PlatformRepository::PLATFORM_PACKAGE_REGEX, $suggestion) && null !== $platform->findPackage($suggestion, '*')) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!isset($installed[$suggestion])) {
|
if (!isset($installed[$suggestion])) {
|
||||||
|
|
Loading…
Reference in New Issue