Skip to content

Commit ccdbffb

Browse files
Fix skip condition
1 parent 63183f2 commit ccdbffb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/Framework/MockObject/Creation/CreateMockTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function testCannotCreateMockObjectForFinalClass(): void
5454
$this->createMock(FinalClass::class);
5555
}
5656

57-
#[RequiresPhp('8.2')]
57+
#[RequiresPhp('^8.2')]
5858
public function testCannotCreateMockObjectForReadonlyClass(): void
5959
{
6060
$this->expectException(ClassIsReadonlyException::class);

tests/unit/Framework/MockObject/Creation/CreateStubTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function testCannotCreateTestStubForFinalClass(): void
5454
$this->createStub(FinalClass::class);
5555
}
5656

57-
#[RequiresPhp('8.2')]
57+
#[RequiresPhp('^8.2')]
5858
public function testCannotCreateTestStubForReadonlyClass(): void
5959
{
6060
$this->expectException(ClassIsReadonlyException::class);

0 commit comments

Comments
 (0)