Skip to content

Commit 7adedbc

Browse files
committed
fixup! fixup! fixup! fixup! [phpunit 12] Add ExplicitMockExpectsCallRector
1 parent 9620375 commit 7adedbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/PHPUnit120/Rector/MethodCall/ExplicitMockExpectsCallRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function refactor(Node $node): Node|null
8989
}
9090

9191
$node->var = new Node\Expr\MethodCall($node->var, 'expects', [
92-
new Node\Arg(new Node\Expr\MethodCall(new Node\Expr\Variable('this'), 'atLeastOnce'))
92+
new Node\Arg(new Node\Expr\MethodCall(new Node\Expr\Variable('this'), 'atLeastOnce')),
9393
]);
9494

9595
return $node;

0 commit comments

Comments
 (0)