diff --git a/src/Parser/InstallOutputParser.php b/src/Parser/InstallOutputParser.php index 7eaa560..b59696a 100644 --- a/src/Parser/InstallOutputParser.php +++ b/src/Parser/InstallOutputParser.php @@ -58,13 +58,7 @@ public function parse(array $output): array $action = strtolower($matches[1]); $package = $matches[2]; $version = trim($matches[6]); - if (strpos($version, ' ') !== false) { - $version = explode(' ', $version)[0]; - } $newVersion = isset($matches[8]) ? trim($matches[8]) : null; - if (isset($newVersion) && strpos($newVersion, ' ') !== false) { - $newVersion = explode(' ', $newVersion)[0]; - } if ($section === 'lock') { switch ($action) {