1
0
Fork 0

Do not add newlines to output

pull/5787/merge
Dries Vints 2016-12-06 16:03:03 +01:00 committed by Jordi Boggiano
parent a9e5be2b17
commit 2ab7df5566
3 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ class ProcessExecutor
if (Process::ERR === $type) {
$this->io->writeError($buffer);
} else {
$this->io->write($buffer);
$this->io->write($buffer, false);
}
}

View File

@ -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);
}

View File

@ -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');