MediaWiki
1.28.0
|
GNU GPL v2+ More...
Public Member Functions | |
normalizeLevelCount ($version) | |
Ensures the version has four levels. More... | |
normalizeSuffix ($version) | |
Ensures there is a dash in between the version and the stability suffix. More... | |
GNU GPL v2+
Definition at line 7 of file ComposerVersionNormalizer.php.
ComposerVersionNormalizer::normalizeLevelCount | ( | $version | ) |
Ensures the version has four levels.
Version suffixes are supported, as long as they start with a dash.
Examples:
string | $version |
InvalidArgumentException |
Definition at line 46 of file ComposerVersionNormalizer.php.
ComposerVersionNormalizer::normalizeSuffix | ( | $version | ) |
Ensures there is a dash in between the version and the stability suffix.
Examples:
string | $version |
InvalidArgumentException |
Definition at line 23 of file ComposerVersionNormalizer.php.