From 7a50e9662ee9f3942e4aaaf3d603653f60282542 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Mon, 30 Oct 2023 15:35:06 +0100 Subject: [PATCH] Fix --- tests/Rules/StrictCalls/StrictFunctionCallsRuleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Rules/StrictCalls/StrictFunctionCallsRuleTest.php b/tests/Rules/StrictCalls/StrictFunctionCallsRuleTest.php index 8c46b360..e3004391 100644 --- a/tests/Rules/StrictCalls/StrictFunctionCallsRuleTest.php +++ b/tests/Rules/StrictCalls/StrictFunctionCallsRuleTest.php @@ -75,7 +75,7 @@ public function testRule(): void public function testBug231(): void { if (PHP_VERSION_ID < 80100) { - $this->markTestSkipped('Test requires PHP 8.1.'); + self::markTestSkipped('Test requires PHP 8.1.'); } $this->analyse([__DIR__ . '/data/bug-231.php'], []); }