Skip to content

Commit fd32436

Browse files
committed
STDOUT -> STDERR
1 parent 6b47930 commit fd32436

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Processors/Cli.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class Cli extends Processor
2727
public function __construct(array $settings)
2828
{
2929
parent::__construct($settings);
30-
$this->buffer = defined('STDOUT');
30+
$this->buffer = defined('STDERR');
3131
}
3232

3333
protected function parse(array $message): void
3434
{
3535
if ($this->buffer) {
36-
fwrite(STDOUT, strtr($this->format, $message) . PHP_EOL);
36+
fwrite(STDERR, strtr($this->format, $message) . PHP_EOL);
3737
}
3838
}
3939
}

0 commit comments

Comments
 (0)