Skip to content

Commit d8a5356

Browse files
committed
fix: update PHPUnit attribute requirements to PHP 8.3
1 parent 063b6dc commit d8a5356

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/Rules/DocBlockHeaderFixerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ public function testIsAnonymousClassWithAttribute(): void
952952
self::assertTrue($result);
953953
}
954954

955-
#[\PHPUnit\Framework\Attributes\RequiresPhp('>= 8.2')]
955+
#[\PHPUnit\Framework\Attributes\RequiresPhp('>= 8.3')]
956956
public function testIsAnonymousClassWithReadonlyModifier(): void
957957
{
958958
$code = '<?php $obj = new readonly class {};';
@@ -975,7 +975,7 @@ public function testIsAnonymousClassWithReadonlyModifier(): void
975975
self::assertTrue($result);
976976
}
977977

978-
#[\PHPUnit\Framework\Attributes\RequiresPhp('>= 8.2')]
978+
#[\PHPUnit\Framework\Attributes\RequiresPhp('>= 8.3')]
979979
public function testSkipsAnonymousClassWithReadonlyModifier(): void
980980
{
981981
$code = '<?php $obj = new readonly class {};';

0 commit comments

Comments
 (0)