Go to the documentation of this file.
19 $this->setExpectedException(
'InvalidArgumentException' );
28 array(
new stdClass() ),
55 array(
'123.321.456.654' ),
73 array(
'1.22.0alpha',
'1.22.0-alpha' ),
74 array(
'1.22.0RC',
'1.22.0-RC' ),
75 array(
'1.19beta',
'1.19-beta' ),
76 array(
'1.9RC4',
'1.9-RC4' ),
77 array(
'1.9.1.2RC4',
'1.9.1.2-RC4' ),
78 array(
'1.9.1.2RC',
'1.9.1.2-RC' ),
79 array(
'123.321.456.654RC9001',
'123.321.456.654-RC9001' ),
108 array(
'123.321.456.654' ),
109 array(
'123.321.456.654RC4' ),
110 array(
'123.321.456.654-RC4' ),
128 array(
'1.22.0.0',
'1.22' ),
129 array(
'1.22.0.0',
'1.22.0' ),
130 array(
'1.19.2.0',
'1.19.2' ),
131 array(
'12345.0.0.0',
'12345' ),
132 array(
'12345.0.0.0-RC4',
'12345-RC4' ),
133 array(
'12345.0.0.0-alpha',
'12345-alpha' ),
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
assertRemainsUnchanged( $version)
testGivenComplexVersionWithDash_normalizeSuffixReturnsAsIs( $withoutDash, $withDash)
@dataProvider complexVersionProvider
testGivenFourLevels_levelCountNormalizationDoesNothing( $version)
@dataProvider fourLevelVersionsProvider
testGivenComplexVersionWithoutDash_normalizeSuffixAddsDash( $withoutDash, $withDash)
@dataProvider complexVersionProvider
testGivenFewerLevels_levelCountNormalizationEnsuresFourLevels( $expected, $version)
@dataProvider levelNormalizationProvider
testGivenSimpleVersion_normalizeSuffixReturnsAsIs( $simpleVersion)
@dataProvider simpleVersionProvider
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
fourLevelVersionsProvider()
testGivenNonString_normalizeThrowsInvalidArgumentException( $nonString)
@dataProvider nonStringProvider
@covers ComposerVersionNormalizer
testGivenInvalidVersion_normalizeSuffixReturnsAsIs( $invalidVersion)
@dataProvider invalidVersionProvider
levelNormalizationProvider()