1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Implement writeError throughout Composer

This commit is contained in:
Rob Bast 2015-02-06 13:52:44 +01:00
parent 84d4594278
commit cb336a5416
65 changed files with 390 additions and 322 deletions

View file

@ -128,7 +128,7 @@ class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
$msg = '';
$io->expects($this->once())
->method('write')
->method('writeError')
->will($this->returnCallback(function ($text) use (&$msg) {
$msg = $text;
}));