Skip to content

Commit 4cfd04b

Browse files
committed
covert stubs and configured mocks as well
1 parent df52518 commit 4cfd04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/Doctrine/NoDocumentMockingRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function processNode(Node $node, Scope $scope): array
3333
return [];
3434
}
3535

36-
if (! NamingHelper::isName($node->name, 'createMock')) {
36+
if (! NamingHelper::isNames($node->name, ['createMock', 'createStub', 'createConfiguredMock'])) {
3737
return [];
3838
}
3939

0 commit comments

Comments
 (0)