Skip to content
Permalink
Browse files

Skip this test on PHP 8

  • Loading branch information...
sebastianbergmann committed May 31, 2019
1 parent e4390fa commit 04019b9743dd1417d4e537b5d0b96d357f42336c
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/unit/Framework/MockObject/MockMethodTest.php
@@ -37,6 +37,9 @@ public function testGetNameReturnsMethodName(): void
$this->assertEquals('methodName', $method->getName());
}
/**
* @requires PHP < 8
*/
public function testFailWhenReturnTypeIsParentButThereIsNoParentClass(): void
{
$class = new \ReflectionClass(ClassWithoutParentButParentReturnType::class);

0 comments on commit 04019b9

Please sign in to comment.
You can’t perform that action at this time.