1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00

Removed unused variables and includes, fixed functions being called with more arguments than declared.

This commit is contained in:
Niels Keurentjes 2016-02-27 23:21:11 +01:00
parent 98845dca6f
commit b059cbe37c
7 changed files with 2 additions and 10 deletions

View file

@ -125,7 +125,6 @@ EOT
// show single package or single version
if ($input->getArgument('package') || !empty($package)) {
$versions = array();
if (empty($package)) {
list($package, $versions) = $this->getPackage($installedRepo, $repos, $input->getArgument('package'), $input->getArgument('version'));
@ -139,7 +138,7 @@ EOT
if ($input->getOption('tree')) {
$this->displayPackageTree($package, $installedRepo, $repos);
} else {
$this->printMeta($package, $versions, $installedRepo, $repos);
$this->printMeta($package, $versions, $installedRepo);
$this->printLinks($package, 'requires');
$this->printLinks($package, 'devRequires', 'requires (dev)');
if ($package->getSuggests()) {