Do not add newlines to output
parent
a9e5be2b17
commit
2ab7df5566
|
@ -108,7 +108,7 @@ class ProcessExecutor
|
|||
if (Process::ERR === $type) {
|
||||
$this->io->writeError($buffer);
|
||||
} else {
|
||||
$this->io->write($buffer);
|
||||
$this->io->write($buffer, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -356,7 +356,7 @@ class EventDispatcherTest extends TestCase
|
|||
|
||||
$io->expects($this->once())
|
||||
->method('write')
|
||||
->with($this->equalTo('foo'.PHP_EOL));
|
||||
->with($this->equalTo('foo'.PHP_EOL), false);
|
||||
|
||||
$dispatcher->dispatchScript(ScriptEvents::POST_INSTALL_CMD, false);
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ class ProcessExecutorTest extends TestCase
|
|||
$io = $this->getMock('Composer\IO\IOInterface');
|
||||
$io->expects($this->once())
|
||||
->method('write')
|
||||
->with($this->equalTo('foo'.PHP_EOL));
|
||||
->with($this->equalTo('foo'.PHP_EOL), false);
|
||||
|
||||
$process = new ProcessExecutor($io);
|
||||
$process->execute('echo foo');
|
||||
|
|
Loading…
Reference in New Issue