We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab6766 commit ba489a5Copy full SHA for ba489a5
Test/ConstraintValidatorTestCase.php
@@ -115,7 +115,7 @@ protected function createContext()
115
$validator->expects($this->any())
116
->method('inContext')
117
->with($context)
118
- ->willReturn($this->createMock(AssertingContextualValidator::class));
+ ->willReturn($this->getMockBuilder(AssertingContextualValidator::class)->setMethods(null)->getMock());
119
120
return $context;
121
}
0 commit comments