Skip to content

Commit

Permalink
Write warning to logger object, not output object
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Dec 12, 2023
1 parent 743e61d commit b761532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/Compose.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit b761532

Please sign in to comment.