From 060662481b047620ae97f22ec3f0c3fb00a26ef2 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 4 Nov 2024 07:06:43 +0700 Subject: [PATCH 1/2] 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()); } } From 56e3088d7bac94ce14d8c63d826f68a2fdb74264 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 4 Nov 2024 07:12:17 +0700 Subject: [PATCH 2/2] Regenerate psalm-baseline.xml Signed-off-by: Abdul Malik Ikhsan --- psalm-baseline.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index d0aee7ed..d77cc748 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -2010,9 +2010,6 @@ - - getMessage()]]> -