Skip to content

Commit b007722

Browse files
committed
use requires php 8.1 in test final constant
1 parent 2c53d08 commit b007722

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/PHPStan/Reflection/ClassReflectionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ public function testDeprecatedConstantFromAnotherFile(): void
192192
$this->assertTrue($constant->isDeprecated()->yes());
193193
}
194194

195+
#[RequiresPhp('>= 8.1')]
195196
public function testFinalConstant(): void
196197
{
197198
$reflectionProvider = self::createReflectionProvider();

0 commit comments

Comments
 (0)