From b761532a1a26807bd75e33a367cdf11e565f0743 Mon Sep 17 00:00:00 2001 From: Brian Henry Date: Tue, 12 Dec 2023 13:23:04 -0800 Subject: [PATCH] Write warning to logger object, not output object --- src/Console/Commands/Compose.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Commands/Compose.php b/src/Console/Commands/Compose.php index 3e78db9d..223cb915 100644 --- a/src/Console/Commands/Compose.php +++ b/src/Console/Commands/Compose.php @@ -324,7 +324,7 @@ protected function performReplacementsInProjectFiles(): void } elseif (is_readable($absolutePath)) { $phpFilesRelativePaths[] = $relativePath; } else { - $this->output->write('Expected file not found from project autoload: ' . $absolutePath); + $this->logger->warning('Expected file not found from project autoload: ' . $absolutePath); } }