Skip to content

Commit

Permalink
Assert::assertNotEquals - fix BC
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus authored and sebastianbergmann committed Jun 21, 2018
1 parent 6625371 commit 092d308
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Framework/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,15 @@ public static function assertAttributeEquals($expected, string $actualAttributeN
/**
* Asserts that two variables are not equal.
*
* @param float $delta
* @param int $maxDepth
* @param bool $canonicalize
* @param bool $ignoreCase
*
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*/
public static function assertNotEquals($expected, $actual, string $message = '', float $delta = 0.0, int $maxDepth = 10, bool $canonicalize = false, bool $ignoreCase = false): void
public static function assertNotEquals($expected, $actual, string $message = '', $delta = 0.0, $maxDepth = 10, $canonicalize = false, $ignoreCase = false): void
{
$constraint = new LogicalNot(
new IsEqual(
Expand Down

0 comments on commit 092d308

Please sign in to comment.