Skip to content

Commit 6804a57

Browse files
authored
Merge branch refs/heads/1.10.x into 1.11.x
2 parents 3d43198 + 222a66c commit 6804a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Reflection/Constant/RuntimeConstantReflectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function testDeprecatedConstants(Name $constName, TrinaryLogic $isDepreca
5151
$reflectionProvider = $this->createReflectionProvider();
5252

5353
$this->assertTrue($reflectionProvider->hasConstant($constName, null));
54-
$this->assertSame($isDeprecated, $reflectionProvider->getConstant($constName, null)->isDeprecated());
54+
$this->assertSame($isDeprecated->describe(), $reflectionProvider->getConstant($constName, null)->isDeprecated()->describe());
5555
$this->assertSame($deprecationMessage, $reflectionProvider->getConstant($constName, null)->getDeprecatedDescription());
5656
}
5757

0 commit comments

Comments
 (0)