From 9eb88c9f689003a8a2a5ae9e010338ee94dc39b3 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Thu, 14 Oct 2021 10:03:54 +0200 Subject: [PATCH] Improve compatibility with PHPStan 1.0 --- .../Rules/PHPUnit/AssertSameMethodDifferentTypesRuleTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Rules/PHPUnit/AssertSameMethodDifferentTypesRuleTest.php b/tests/Rules/PHPUnit/AssertSameMethodDifferentTypesRuleTest.php index 072603e..dd96118 100644 --- a/tests/Rules/PHPUnit/AssertSameMethodDifferentTypesRuleTest.php +++ b/tests/Rules/PHPUnit/AssertSameMethodDifferentTypesRuleTest.php @@ -36,7 +36,7 @@ public function testRule(): void 13, ], [ - 'Call to method PHPUnit\Framework\Assert::assertSame() with array(\'a\', \'b\') and array(1, 2) will always evaluate to false.', + 'Call to method PHPUnit\Framework\Assert::assertSame() with array{\'a\', \'b\'} and array{1, 2} will always evaluate to false.', 14, ], [ @@ -56,7 +56,7 @@ public function testRule(): void 47, ], [ - 'Call to method PHPUnit\Framework\Assert::assertSame() with array(\'a\', 2, 3.0) and array(\'a\', 1) will always evaluate to false.', + 'Call to method PHPUnit\Framework\Assert::assertSame() with array{\'a\', 2, 3.0} and array{\'a\', 1} will always evaluate to false.', 52, ], ]);