Skip to content

Commit bef077d

Browse files
committed
fixup! AssertEqualsIsDiscouragedRule
1 parent 6a4c4d8 commit bef077d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Rules/PHPUnit/AssertEqualsIsDiscouragedRule.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ public function processNode(Node $node, Scope $scope): array
5656
}
5757
if (
5858
($leftType instanceof FloatType && $rightType instanceof FloatType)
59-
&&
60-
count($node->args) < 4 // is not using delta for comparing floats
59+
&& count($node->args) < 4 // is not using delta for comparing floats
6160
) {
6261
return [
6362
'You should use assertSame instead of assertEquals, because both values are of the same type "float" and you are not using $delta argument',

0 commit comments

Comments
 (0)