Skip to content

Commit 1aa8ebc

Browse files
committed
Fix build
1 parent 96f1e10 commit 1aa8ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Rules/Classes/NewStaticRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected function getRule(): Rule
1818
public function testRule(): void
1919
{
2020
$error = 'Unsafe usage of new static().';
21-
$tipText = 'Consider making the class or the constructor final.';
21+
$tipText = 'See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static';
2222
$this->analyse([__DIR__ . '/data/new-static.php'], [
2323
[
2424
$error,

0 commit comments

Comments
 (0)