public function errorOutput(string $output, string $identifier): void
    {
        $output = rtrim($output);

        if (empty($output)) {
            return;
        }

        $lines = explode("\n", $output);

        foreach ($lines as $line) {
            $this->write('<error>' . $identifier . ' ERR> ');
            $this->writeln($line . '</>');
        }
    }
public function errorOutput(string $output, string $identifier): void
    {
        $output = rtrim($output);

        if (empty($output)) {
            return;
        }

        $lines = explode("\n", $output);

        foreach ($lines as $line) {
            $this->write('<error>' . $identifier . ' ERR> ');
            $this->writeln($line . '</>');
        }
    }
public function errorOutput ( string $ output , string $ identifier ) : void { $ output = rtrim ( $ output ) ; if ( empty ( $ output ) ) { return ; } $ lines = explode ( "\n" , $ output ) ; foreach ( $ lines as $ line ) { $ this -> write ( '<error>' . $ identifier . ' ERR> ' ) ; $ this -> writeln ( $ line . '</>' ) ; } }
Print error output from process
Print error output from process