You are here

public static function VersionParser::normalizeStability in Automatic Updates 7

Parameters

string $stability:

Return value

string

File

vendor/composer/semver/src/VersionParser.php, line 85

Class

VersionParser
Version parser.

Namespace

Composer\Semver

Code

public static function normalizeStability($stability) {
  $stability = strtolower($stability);
  return $stability === 'rc' ? 'RC' : $stability;
}