You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(coverage): add UsesClass(ProjectContext) to all Configuration generator tests
PHPUnit 12.5.x marks tests as risky when they execute code not declared
in CoversClass or UsesClass. All 5 generator tests create a ProjectContext
instance (passed to generate()) but were missing:
#[UsesClass(ProjectContext::class)]
Added to:
- PhpUnitConfigGeneratorTest
- PhpStanConfigGeneratorTest
- CsFixerConfigGeneratorTest
- PsalmConfigGeneratorTest
- RectorConfigGeneratorTest
Result: 158 tests, 0 risky, 0 failures.
0 commit comments