From 060662481b047620ae97f22ec3f0c3fb00a26ef2 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 4 Nov 2024 07:06:43 +0700 Subject: [PATCH] Update to latest PHPUnit 10 syntax Signed-off-by: Abdul Malik Ikhsan --- test/StringToLowerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/StringToLowerTest.php b/test/StringToLowerTest.php index 26a62c4c..65f8019f 100644 --- a/test/StringToLowerTest.php +++ b/test/StringToLowerTest.php @@ -110,7 +110,7 @@ public function testCaseInsensitiveEncoding(): void self::assertSame($output, $filter($input)); } } catch (Exception\ExtensionNotLoadedException $e) { - self::assertContains('mbstring is required', $e->getMessage()); + self::assertStringContainsString('mbstring is required', $e->getMessage()); } }