Skip to content

Commit 0731026

Browse files
committed
break
1 parent 42ad04e commit 0731026

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Rules/PHPUnit/DataProviderDataRule.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public function processNode(Node $node, Scope $scope): array
8989
foreach ($testsWithProvider as $testMethod) {
9090
if ($testMethod->isVariadic()) {
9191
$maxNumberOfParameters = PHP_INT_MAX;
92+
break;
9293
}
9394

9495
$maxNumberOfParameters = max($maxNumberOfParameters, $testMethod->getNumberOfParameters());

0 commit comments

Comments
 (0)