File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/unit/Framework/MockObject/Creation Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function testCannotCreateMockObjectForFinalClass(): void
54
54
$ this ->createMock (FinalClass::class);
55
55
}
56
56
57
- #[RequiresPhp('8.2 ' )]
57
+ #[RequiresPhp('^ 8.2 ' )]
58
58
public function testCannotCreateMockObjectForReadonlyClass (): void
59
59
{
60
60
$ this ->expectException (ClassIsReadonlyException::class);
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function testCannotCreateTestStubForFinalClass(): void
54
54
$ this ->createStub (FinalClass::class);
55
55
}
56
56
57
- #[RequiresPhp('8.2 ' )]
57
+ #[RequiresPhp('^ 8.2 ' )]
58
58
public function testCannotCreateTestStubForReadonlyClass (): void
59
59
{
60
60
$ this ->expectException (ClassIsReadonlyException::class);
You can’t perform that action at this time.
0 commit comments