We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc49c3 commit 716e782Copy full SHA for 716e782
src/InfoCommand.php
@@ -113,7 +113,6 @@ private function extractVersions($packageInfo)
113
$packageInfo[self::NEW_VERSIONS][] = $version;
114
}
115
116
- $packageInfo[self::NEW_VERSIONS][] = $packageInfo[self::CURRENT_VERSION];
117
} else {
118
$packageInfo[self::NEW_VERSIONS] = $packageInfo[self::AVAILABLE_VERSIONS];
119
tests/Composer/InfoCommandTest.php
@@ -130,8 +130,7 @@ public function getCommandOutputDataProvider()
130
'1.2.0'
131
],
132
'new_versions' => [
133
- '1.2.0',
134
- '1.1.2'
+ '1.2.0'
135
]
136
137
0 commit comments