[ticket/17336] Skip extension package aliases in dev stabilities

PHPBB-17336

Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
Matt Friedman 2024-06-10 22:16:25 -07:00
parent e2ff7a7178
commit ec34f72a3b
No known key found for this signature in database

View file

@ -396,6 +396,11 @@ class installer
/** @var CompletePackage $version */
foreach ($versions as $version)
{
if (strpos($version->getVersion(), '9999999') === 0)
{
continue;
}
if (!$highest_version || version_compare($version->getVersion(), $highest_version->getVersion(), '>'))
{
$highest_version = $version;