1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Use STDERR for Shepherd output, fixes #9168

This commit is contained in:
Alies Lapatsin 2023-01-23 21:14:18 +01:00
parent f0df1192c4
commit 68842a50c5

View File

@ -37,7 +37,6 @@ use const PHP_EOL;
use const PHP_URL_HOST;
use const PHP_URL_SCHEME;
use const STDERR;
use const STDOUT;
final class Shepherd implements AfterAnalysisInterface
{
@ -120,7 +119,7 @@ final class Shepherd implements AfterAnalysisInterface
if ($response_status_code >= 200 && $response_status_code < 300) {
$shepherd_host = parse_url($codebase->config->shepherd_endpoint, PHP_URL_HOST);
fwrite(STDOUT, "🐑 results sent to $shepherd_host 🐑" . PHP_EOL);
fwrite(STDERR, "🐑 results sent to $shepherd_host 🐑" . PHP_EOL);
return;
}