Skip to content

Commit

Permalink
Remove superfluous version restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 10, 2022
1 parent ddf8460 commit 97d92d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tests/unit/Framework/MockObject/MockObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1101,9 +1101,6 @@ public function testVoidReturnTypeIsMockedCorrectly(): void
$this->assertNull($stub->methodWithVoidReturnTypeDeclaration());
}

/**
* @requires PHP 7.2
*/
public function testObjectReturnTypeIsMockedCorrectly(): void
{
/** @var ClassWithAllPossibleReturnTypes|MockObject $stub */
Expand Down
3 changes: 0 additions & 3 deletions tests/unit/Framework/TestCaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -852,9 +852,6 @@ public function testCurrentWorkingDirectoryIsRestored(): void
$this->assertSame($expectedCwd, getcwd());
}

/**
* @requires PHP 7
*/
public function testTypeErrorCanBeExpected(): void
{
$o = new ClassWithScalarTypeDeclarations;
Expand Down

0 comments on commit 97d92d2

Please sign in to comment.