From 97d92d2372544fc028e491e327fecc19a252247a Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Thu, 10 Feb 2022 15:55:19 +0100 Subject: [PATCH] Remove superfluous version restriction --- tests/unit/Framework/MockObject/MockObjectTest.php | 3 --- tests/unit/Framework/TestCaseTest.php | 3 --- 2 files changed, 6 deletions(-) diff --git a/tests/unit/Framework/MockObject/MockObjectTest.php b/tests/unit/Framework/MockObject/MockObjectTest.php index 36246543b2f..3166877138a 100644 --- a/tests/unit/Framework/MockObject/MockObjectTest.php +++ b/tests/unit/Framework/MockObject/MockObjectTest.php @@ -1101,9 +1101,6 @@ public function testVoidReturnTypeIsMockedCorrectly(): void $this->assertNull($stub->methodWithVoidReturnTypeDeclaration()); } - /** - * @requires PHP 7.2 - */ public function testObjectReturnTypeIsMockedCorrectly(): void { /** @var ClassWithAllPossibleReturnTypes|MockObject $stub */ diff --git a/tests/unit/Framework/TestCaseTest.php b/tests/unit/Framework/TestCaseTest.php index 6720a3435f7..82435b1c4e0 100644 --- a/tests/unit/Framework/TestCaseTest.php +++ b/tests/unit/Framework/TestCaseTest.php @@ -852,9 +852,6 @@ public function testCurrentWorkingDirectoryIsRestored(): void $this->assertSame($expectedCwd, getcwd()); } - /** - * @requires PHP 7 - */ public function testTypeErrorCanBeExpected(): void { $o = new ClassWithScalarTypeDeclarations;