We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b47930 commit fd32436Copy full SHA for fd32436
1 file changed
Processors/Cli.php
@@ -27,13 +27,13 @@ class Cli extends Processor
27
public function __construct(array $settings)
28
{
29
parent::__construct($settings);
30
- $this->buffer = defined('STDOUT');
+ $this->buffer = defined('STDERR');
31
}
32
33
protected function parse(array $message): void
34
35
if ($this->buffer) {
36
- fwrite(STDOUT, strtr($this->format, $message) . PHP_EOL);
+ fwrite(STDERR, strtr($this->format, $message) . PHP_EOL);
37
38
39
0 commit comments