Skip to content

Commit

Permalink
Remove assertEquals - too simple for PHPUnit's assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug authored Nov 16, 2018
1 parent 6a387da commit b920963
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions stubs/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,6 @@ public static function assertNotNull($actual, $message = '') {}
*/
function assertSame($expected, $actual, $message = '') : void {}

/**
* Asserts that two variables are loosely equal to each other
*
* @template T
* @param T $expected
* @param mixed $actual
* @param string $message
* @psalm-assert ~T $actual
*/
function assertEquals($expected, $actual, $message = '') : void {}

/**
* Asserts that two variables are not the same.
*
Expand All @@ -124,15 +113,4 @@ function assertEquals($expected, $actual, $message = '') : void {}
* @psalm-assert !=T $actual
*/
function assertNotSame($expected, $actual, $message = '') : void {}

/**
* Asserts that two variables are not loosely equal to each other
*
* @template T
* @param T $expected
* @param mixed $actual
* @param string $message
* @psalm-assert !~T $actual
*/
function assertNotEquals($expected, $actual, $message = '') : void {}
}

0 comments on commit b920963

Please sign in to comment.