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
|
@ -89,7 +89,7 @@ class PoolBuilderTest extends TestCase
|
|||
$request->fixPackage($loadPackage($fixedPackage));
|
||||
}
|
||||
|
||||
$pool = $repositorySet->createPool($request);
|
||||
$pool = $repositorySet->createPool($request, new NullIO());
|
||||
for ($i = 1, $count = count($pool); $i <= $count; $i++) {
|
||||
$result[] = $pool->packageById($i);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue