Skip to content

Commit 1845ed2

Browse files
committed
Better output
1 parent 2cc6cda commit 1845ed2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Diagnose/PHPStanDiagnoseExtension.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ public function print(Output $output): void
7272
$output->writeLineFormatted('');
7373

7474
$output->writeLineFormatted('<info>Discovered Composer project roots:</info>');
75+
if (count($this->composerAutoloaderProjectPaths) === 0) {
76+
$output->writeLineFormatted('None');
77+
}
7578
foreach ($this->composerAutoloaderProjectPaths as $composerAutoloaderProjectPath) {
7679
$output->writeLineFormatted($composerAutoloaderProjectPath);
7780
}

0 commit comments

Comments
 (0)