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 7eec512 commit 2430f8aCopy full SHA for 2430f8a
tests/unit/Framework/MockObject/MockMethodTest.php
@@ -38,15 +38,4 @@ public function testGetNameReturnsMethodName(): void
38
);
39
$this->assertEquals('methodName', $method->getName());
40
}
41
-
42
- /**
43
- * @requires PHP < 7.4
44
- */
45
- public function testFailWhenReturnTypeIsParentButThereIsNoParentClass(): void
46
- {
47
- $class = new ReflectionClass(ClassWithoutParentButParentReturnType::class);
48
49
- $this->expectException(RuntimeException::class);
50
- MockMethod::fromReflection($class->getMethod('foo'), false, false);
51
- }
52
0 commit comments