1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Reaching phpstan level 6 in Composer/DependencyResolver (refs #10159) (#10178)

This commit is contained in:
immeëmosol 2021-10-18 22:33:37 +02:00 committed by GitHub
parent 04ab74bbef
commit 50d738eeee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 292 additions and 113 deletions

View file

@ -68,6 +68,7 @@ class RuleSetTest extends TestCase
$ruleSet = new RuleSet;
$this->setExpectedException('OutOfBoundsException');
// @phpstan-ignore-next-line
$ruleSet->add(new GenericRule(array(), Rule::RULE_ROOT_REQUIRE, array('packageName' => '', 'constraint' => new MatchAllConstraint)), 7);
}