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:
parent
84d4594278
commit
cb336a5416
65 changed files with 390 additions and 322 deletions
|
@ -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;
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue