mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Internalize pool creation in repository set, store root aliases in set
The pool is still exposed too early in a few places which will require further refactoring
This commit is contained in:
parent
6ef65e5319
commit
1228bcdffc
17 changed files with 248 additions and 133 deletions
|
@ -16,6 +16,7 @@ use Composer\DependencyResolver\GenericRule;
|
|||
use Composer\DependencyResolver\Rule;
|
||||
use Composer\DependencyResolver\RuleSet;
|
||||
use Composer\DependencyResolver\Pool;
|
||||
use Composer\Package\BasePackage;
|
||||
use Composer\Repository\ArrayRepository;
|
||||
use Composer\TestCase;
|
||||
|
||||
|
@ -25,7 +26,7 @@ class RuleSetTest extends TestCase
|
|||
|
||||
public function setUp()
|
||||
{
|
||||
$this->pool = new Pool;
|
||||
$this->pool = new Pool(array('stable' => BasePackage::STABILITY_STABLE));
|
||||
}
|
||||
|
||||
public function testAdd()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue