Change Traversable to mixed.

See https://github.com/facebook/hhvm/issues/4980
parent 886baac9
......@@ -28,9 +28,9 @@ abstract class PHPUnit_Framework_Assert {
public function assertClassHasStaticAttribute(string $name, string $class, string $message = '');
public function assertClassNotHasAttribute(string $name, string $class, string $message = '');
public function assertClassNotHasStaticAttribute(string $name, string $class, string $message = '');
public function assertContains(mixed $needle, Traversable $array, string $msg = '');
public function assertContainsOnly(string $type, Traversable $array, ?bool $isNativeType = null, string $message = '');
public function assertContainsOnlyInstancesOf(string $class, Traversable $array, string $message = '');
public function assertContains(mixed $needle, mixed $array, string $msg = '');
public function assertContainsOnly(string $type, mixed $array, ?bool $isNativeType = null, string $message = '');
public function assertContainsOnlyInstancesOf(string $class, mixed $array, string $message = '');
public function assertCount(int $expected, mixed $haystack, string $message = '');
public function assertEmpty(mixed $actual, string $message = '');
public function assertEqualXMLStructure(DOMElement $expected, DOMElement $actual, bool $check = false, string $message = '');
......@@ -53,8 +53,8 @@ abstract class PHPUnit_Framework_Assert {
public function assertJsonStringNotEqualsJsonString(string $exepcted, string $actual, string $message = '');
public function assertLessThan(mixed $expected, mixed $actual, string $message = '');
public function assertLessThanOrEqual(mixed $expected, mixed $actual, string $message = '');
public function assertNotContains(mixed $needle, Traversable $array, string $msg = '');
public function assertNotContainsOnly(string $type, Traversable $array, ?bool $isNativeType = null, string $message = '');
public function assertNotContains(mixed $needle, mixed $array, string $msg = '');
public function assertNotContainsOnly(string $type, mixed $array, ?bool $isNativeType = null, string $message = '');
public function assertNotCount(int $expected, mixed $haystack, string $message = '');
public function assertNotEmpty(mixed $actual, string $message = '');
public function assertNotEquals(mixed $expect, mixed $actual, string $msg = '', float $delta = 0.0, int $maxDepth = 10, bool $canonicalize = false, bool $ignoreCase = false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment