Skip to content

Commit 9fb6359

Browse files
committed
improved skip message
1 parent a2811e7 commit 9fb6359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Rules/Methods/FinalPrivateMethodRuleTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function testRule(int $phpVersion, array $errors): void
4848
$testVersion->getMajorVersionId() !== $runtimeVersion->getMajorVersionId()
4949
|| $testVersion->getMinorVersionId() !== $runtimeVersion->getMinorVersionId()
5050
) {
51-
$this->markTestSkipped('Test requires PHP version ' . $phpVersion);
51+
$this->markTestSkipped('Test requires PHP version ' . $testVersion->getMajorVersionId() .'.'. $testVersion->getMinorVersionId() .'.*');
5252
}
5353

5454
$this->analyse([__DIR__ . '/data/final-private-method.php'], $errors);

0 commit comments

Comments
 (0)