Skip to content

Commit ba27b70

Browse files
VincentLangletondrejmirtes
authored andcommitted
Fix 7.4 tests
1 parent e5ac757 commit ba27b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Rules/Classes/NewStaticRuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ public function testBug9654(): void
4848
$errors = [];
4949
if (PHP_VERSION_ID < 80000) {
5050
$errors[] = [
51-
'Unsafe usage of new static()',
51+
'Unsafe usage of new static().',
5252
11,
5353
'See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static',
5454
];
5555
$errors[] = [
56-
'Unsafe usage of new static()',
56+
'Unsafe usage of new static().',
5757
11,
5858
'See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static',
5959
];

0 commit comments

Comments
 (0)