public static function findInlineStabilities(array $stabilities, VersionParser $versionParser)
    {
        $lowestStability = 'stable';

        foreach ($stabilities as $stability) {
            $stability = $versionParser->normalizeStability($stability);
            $stability = $versionParser->parseStability($stability);

            if (Package::$stabilities[$stability] > Package::$stabilities[$lowestStability]) {
                $lowestStability = $stability;
            }
        }

        return $lowestStability;
    }
public static function findInlineStabilities(array $stabilities, VersionParser $versionParser)
    {
        $lowestStability = 'stable';

        foreach ($stabilities as $stability) {
            $stability = $versionParser->normalizeStability($stability);
            $stability = $versionParser->parseStability($stability);

            if (Package::$stabilities[$stability] > Package::$stabilities[$lowestStability]) {
                $lowestStability = $stability;
            }
        }

        return $lowestStability;
    }
public static function findInlineStabilities ( array $ stabilities , VersionParser $ versionParser ) { $ lowestStability = 'stable' ; foreach ( $ stabilities as $ stability ) { $ stability = $ versionParser -> normalizeStability ( $ stability ) ; $ stability = $ versionParser -> parseStability ( $ stability ) ; if ( Package :: $ stabilities [ $ stability ] > Package :: $ stabilities [ $ lowestStability ] ) { $ lowestStability = $ stability ; } } return $ lowestStability ; }
Find the lowest stability.

@param string[]      $stabilities   The list of stability
@param VersionParser $versionParser The version parser

@return string The lowest stability
Find the lowest stability .