From 13f799c247a1e7817a5711546dd020edef00edc7 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Mon, 21 Jul 2025 17:29:49 +0200 Subject: [PATCH] Fix 7.4 tests --- tests/PHPStan/Rules/Classes/NewStaticRuleTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/PHPStan/Rules/Classes/NewStaticRuleTest.php b/tests/PHPStan/Rules/Classes/NewStaticRuleTest.php index e6efd12d79..27ad2a84b6 100644 --- a/tests/PHPStan/Rules/Classes/NewStaticRuleTest.php +++ b/tests/PHPStan/Rules/Classes/NewStaticRuleTest.php @@ -48,12 +48,12 @@ public function testBug9654(): void $errors = []; if (PHP_VERSION_ID < 80000) { $errors[] = [ - 'Unsafe usage of new static()', + 'Unsafe usage of new static().', 11, 'See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static', ]; $errors[] = [ - 'Unsafe usage of new static()', + 'Unsafe usage of new static().', 11, 'See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static', ];