mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Set all package ids only once the pool is created
They all get set in one place only and at a specific time when nothing else will possibly change them anymore
This commit is contained in:
parent
5c491ecc9b
commit
81bb8f81ad
5 changed files with 4 additions and 25 deletions
|
@ -143,7 +143,6 @@ class RuleSetTest extends TestCase
|
|||
$pool->setPackages(array(
|
||||
$p = $this->getPackage('foo', '2.1'),
|
||||
));
|
||||
$p->setId(1);
|
||||
|
||||
$ruleSet = new RuleSet;
|
||||
$literal = $p->getId();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue