1
0
Fork 0
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:
Nils Adermann 2020-04-01 15:27:51 +02:00
parent 71c3c63b54
commit c270d3cfa6
5 changed files with 29 additions and 29 deletions

View file

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