Revert accidental rename of $dependencies variable in unrelated code branch
parent
d5d956df4d
commit
eea7564c9e
|
@ -96,9 +96,9 @@ EOT
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'json':
|
case 'json':
|
||||||
$usedLicenses = array();
|
$dependencies = array();
|
||||||
foreach ($packages as $package) {
|
foreach ($packages as $package) {
|
||||||
$usedLicenses[$package->getPrettyName()] = array(
|
$dependencies[$package->getPrettyName()] = array(
|
||||||
'version' => $package->getFullPrettyVersion(),
|
'version' => $package->getFullPrettyVersion(),
|
||||||
'license' => $package->getLicense(),
|
'license' => $package->getLicense(),
|
||||||
);
|
);
|
||||||
|
@ -108,7 +108,7 @@ EOT
|
||||||
'name' => $root->getPrettyName(),
|
'name' => $root->getPrettyName(),
|
||||||
'version' => $root->getFullPrettyVersion(),
|
'version' => $root->getFullPrettyVersion(),
|
||||||
'license' => $root->getLicense(),
|
'license' => $root->getLicense(),
|
||||||
'dependencies' => $usedLicenses,
|
'dependencies' => $dependencies,
|
||||||
)));
|
)));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue