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 e9be8c2 commit fb3511fCopy full SHA for fb3511f
src/Parser/InstallOutputParser.php
@@ -58,13 +58,7 @@ public function parse(array $output): array
58
$action = strtolower($matches[1]);
59
$package = $matches[2];
60
$version = trim($matches[6]);
61
- if (strpos($version, ' ') !== false) {
62
- $version = explode(' ', $version)[0];
63
- }
64
$newVersion = isset($matches[8]) ? trim($matches[8]) : null;
65
- if (isset($newVersion) && strpos($newVersion, ' ') !== false) {
66
- $newVersion = explode(' ', $newVersion)[0];
67
68
69
if ($section === 'lock') {
70
switch ($action) {
0 commit comments