Skip to content

Commit fbdc97b

Browse files
committed
[Alternative 2] Skip assertEquals() on MatchAssertSameExpectedTypeRector
1 parent e561212 commit fbdc97b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/CodeQuality/Rector/MethodCall/MatchAssertSameExpectedTypeRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function getNodeTypes(): array
8282
*/
8383
public function refactor(Node $node): ?Node
8484
{
85-
if (! $this->testsNodeAnalyzer->isPHPUnitMethodCallNames($node, ['assertSame', 'assertEquals'])) {
85+
if (! $this->testsNodeAnalyzer->isPHPUnitMethodCallNames($node, ['assertSame'])) {
8686
return null;
8787
}
8888

0 commit comments

Comments
 (0)