mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
PoolBuilder: make io non-nullable, NullIO can be used instead
This commit is contained in:
parent
71c3c63b54
commit
c270d3cfa6
5 changed files with 29 additions and 29 deletions
|
@ -890,8 +890,9 @@ class SolverTest extends TestCase
|
|||
|
||||
protected function createSolver()
|
||||
{
|
||||
$this->pool = $this->repoSet->createPool($this->request);
|
||||
$this->solver = new Solver($this->policy, $this->pool, new NullIO());
|
||||
$io = new NullIO();
|
||||
$this->pool = $this->repoSet->createPool($this->request, $io);
|
||||
$this->solver = new Solver($this->policy, $this->pool, $io);
|
||||
}
|
||||
|
||||
protected function checkSolverResult(array $expected)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue