From 092d3085c469754e234b0aa63f75d173fb6e0a15 Mon Sep 17 00:00:00 2001 From: Dariusz Ruminski Date: Thu, 21 Jun 2018 13:35:09 +0200 Subject: [PATCH] Assert::assertNotEquals - fix BC --- src/Framework/Assert.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Framework/Assert.php b/src/Framework/Assert.php index f161d7f2f47..954459a88ae 100644 --- a/src/Framework/Assert.php +++ b/src/Framework/Assert.php @@ -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(