Skip to content

Commit

Permalink
Better output
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jul 14, 2024
1 parent 2cc6cda commit 1845ed2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Diagnose/PHPStanDiagnoseExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ public function print(Output $output): void
$output->writeLineFormatted('');

$output->writeLineFormatted('<info>Discovered Composer project roots:</info>');
if (count($this->composerAutoloaderProjectPaths) === 0) {
$output->writeLineFormatted('None');
}
foreach ($this->composerAutoloaderProjectPaths as $composerAutoloaderProjectPath) {
$output->writeLineFormatted($composerAutoloaderProjectPath);
}
Expand Down

0 comments on commit 1845ed2

Please sign in to comment.