|
MediaWiki
1.23.0
|
@licence 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... | |
@licence 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.
References $version.
| 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.
References $version.