MediaWiki
1.33.0
|
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... | |
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.