*
* @group ComposerHooks
*
- * @licence GNU GPL v2+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class ComposerVersionNormalizerTest extends PHPUnit_Framework_TestCase {
/**
* @dataProvider complexVersionProvider
*/
- public function testGivenComplexVersionWithoutDash_normalizeSuffixAddsDash( $withoutDash, $withDash ) {
+ public function testGivenComplexVersionWithoutDash_normalizeSuffixAddsDash(
+ $withoutDash, $withDash
+ ) {
$normalizer = new ComposerVersionNormalizer();
$this->assertEquals(
/**
* @dataProvider complexVersionProvider
*/
- public function testGivenComplexVersionWithDash_normalizeSuffixReturnsAsIs( $withoutDash, $withDash ) {
+ public function testGivenComplexVersionWithDash_normalizeSuffixReturnsAsIs(
+ $withoutDash, $withDash
+ ) {
$this->assertRemainsUnchanged( $withDash );
}
/**
* @dataProvider levelNormalizationProvider
*/
- public function testGivenFewerLevels_levelCountNormalizationEnsuresFourLevels( $expected, $version ) {
+ public function testGivenFewerLevels_levelCountNormalizationEnsuresFourLevels(
+ $expected, $version
+ ) {
$normalizer = new ComposerVersionNormalizer();
$this->assertEquals(
array( 'alpha42' ),
);
}
-
-}
\ No newline at end of file
+}