1
0
Fork 0

Revert accidental rename of $dependencies variable in unrelated code branch

pull/9010/head
Jonas Drieghe 2020-06-24 07:28:22 +02:00
parent d5d956df4d
commit eea7564c9e
1 changed files with 3 additions and 3 deletions

View File

@ -96,9 +96,9 @@ EOT
break;
case 'json':
$usedLicenses = array();
$dependencies = array();
foreach ($packages as $package) {
$usedLicenses[$package->getPrettyName()] = array(
$dependencies[$package->getPrettyName()] = array(
'version' => $package->getFullPrettyVersion(),
'license' => $package->getLicense(),
);
@ -108,7 +108,7 @@ EOT
'name' => $root->getPrettyName(),
'version' => $root->getFullPrettyVersion(),
'license' => $root->getLicense(),
'dependencies' => $usedLicenses,
'dependencies' => $dependencies,
)));
break;