Skip to content

Commit 0ab211d

Browse files
committed
simplify
1 parent cff1f79 commit 0ab211d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/Rules/PHPUnit/DataProviderDataRuleTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ protected function getRule(): Rule
3535
$reflectionProvider,
3636
new TestMethodsHelper($reflectionProvider, self::getContainer()->getByType(FileTypeMapper::class), self::getContainer()->getService('defaultAnalysisParser'))
3737
),
38-
new CallMethodsRule(
39-
new MethodCallCheck($reflectionProvider, $ruleLevelHelper, true, true),
40-
new FunctionCallParametersCheck($ruleLevelHelper, new NullsafeCheck(), new UnresolvableTypeHelper(), new PropertyReflectionFinder(), true, true, true, true),
41-
)
38+
self::getContainer()->getByType(CallMethodsRule::class)
4239
]));
4340
}
4441

0 commit comments

Comments
 (0)