diff --git a/src/Composer/Command/StatusCommand.php b/src/Composer/Command/StatusCommand.php index e4de749f1..45affa9e5 100644 --- a/src/Composer/Command/StatusCommand.php +++ b/src/Composer/Command/StatusCommand.php @@ -121,7 +121,7 @@ EOT } if ($downloader instanceof VcsCapableDownloaderInterface) { - if ($currentRef = $downloader->getVcsReference($package, $targetDir)) { + if ($downloader->getVcsReference($package, $targetDir)) { switch ($package->getInstallationSource()) { case 'source': $previousRef = $package->getSourceReference();