Skip to content

Commit 036689b

Browse files
committed
Fix test
1 parent e0827b9 commit 036689b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/PHPStan/Rules/Comparison/ImpossibleCheckTypeMethodCallRuleEqualsTest.php

+8
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ public function testRule(): void
8484
'Call to method ImpossibleMethodCall\Foo::isNotSame() with array{} and array{} will always evaluate to false.',
8585
116,
8686
],
87+
[
88+
'Call to method ImpossibleMethodCall\Foo::isSame() with array{1, 3} and array{1, 3} will always evaluate to true.',
89+
119,
90+
],
91+
[
92+
'Call to method ImpossibleMethodCall\Foo::isNotSame() with array{1, 3} and array{1, 3} will always evaluate to false.',
93+
122,
94+
],
8795
[
8896
'Call to method ImpossibleMethodCall\Foo::isSame() with \'\' and \'\' will always evaluate to true.',
8997
174,

0 commit comments

Comments
 (0)