1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 16:42:57 +00:00

Use RULE_LEARNED instead of RULE_FIXED

This commit is contained in:
Jordi Boggiano 2020-06-02 13:12:15 +02:00
parent 7a97741aae
commit 1ea3111583
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ class RuleSetIteratorTest extends TestCase
new GenericRule(array(), Rule::RULE_ROOT_REQUIRE, null),
),
RuleSet::TYPE_LEARNED => array(
new GenericRule(array(), Rule::RULE_FIXED, null),
new GenericRule(array(), Rule::RULE_LEARNED, null),
),
RuleSet::TYPE_PACKAGE => array(),
);

View file

@ -31,7 +31,7 @@ class RuleSetTest extends TestCase
new GenericRule(array(2), Rule::RULE_ROOT_REQUIRE, null),
),
RuleSet::TYPE_LEARNED => array(
new GenericRule(array(), Rule::RULE_FIXED, null),
new GenericRule(array(), Rule::RULE_LEARNED, null),
),
);