1
0
Fork 0

Adding hint what "Direct dependencies" means (#11013)

pull/11014/head
Thomas Landauer 2022-08-20 09:24:25 +02:00 committed by GitHub
parent d2d8474013
commit ceb8bef778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -601,14 +601,14 @@ EOT
}
$io->write('');
$io->write('<info>Direct dependencies:</>');
$io->write('<info>Direct dependencies required in composer.json:</>');
if (\count($directDeps) > 0) {
$this->printPackages($io, $directDeps, $indent, $versionFits, $latestFits, $descriptionFits, $width, $versionLength, $nameLength, $latestLength);
} else {
$io->write('Everything up to date');
}
$io->write('');
$io->write('<info>Transitive dependencies:</>');
$io->write('<info>Transitive dependencies not required in composer.json:</>');
if (\count($transitiveDeps) > 0) {
$this->printPackages($io, $transitiveDeps, $indent, $versionFits, $latestFits, $descriptionFits, $width, $versionLength, $nameLength, $latestLength);
} else {

View File

@ -102,10 +102,10 @@ vendor/package generic description',
! patch or minor release available - update recommended
~ major release available - update possible
Direct dependencies:
Direct dependencies required in composer.json:
Everything up to date
Transitive dependencies:
Transitive dependencies not required in composer.json:
outdated/major 1.0.0 ~ 2.0.0
outdated/minor 1.0.0 <highlight>! 1.1.1</highlight>
outdated/patch 1.0.0 <highlight>! 1.0.1</highlight>',
@ -129,10 +129,10 @@ outdated/major 1.0.0 ~ 2.0.0',
! patch or minor release available - update recommended
~ major release available - update possible
Direct dependencies:
Direct dependencies required in composer.json:
Everything up to date
Transitive dependencies:
Transitive dependencies not required in composer.json:
outdated/major 1.0.0 ~ 2.0.0',
];
@ -142,10 +142,10 @@ outdated/major 1.0.0 ~ 2.0.0',
! patch or minor release available - update recommended
~ major release available - update possible
Direct dependencies:
Direct dependencies required in composer.json:
outdated/minor 1.0.0 <highlight>! 1.1.1</highlight>
Transitive dependencies:
Transitive dependencies not required in composer.json:
outdated/major 1.0.0 <highlight>! 1.1.1</highlight>
outdated/patch 1.0.0 <highlight>! 1.0.1</highlight>',
['outdated/minor' => '*'],
@ -157,10 +157,10 @@ outdated/patch 1.0.0 <highlight>! 1.0.1</highlight>',
! patch or minor release available - update recommended
~ major release available - update possible
Direct dependencies:
Direct dependencies required in composer.json:
Everything up to date
Transitive dependencies:
Transitive dependencies not required in composer.json:
outdated/major 1.0.0 <highlight>! 1.0.1</highlight>
outdated/minor 1.0.0 <highlight>! 1.0.1</highlight>
outdated/patch 1.0.0 <highlight>! 1.0.1</highlight>',