Commit a596ae58 authored by Simon Welsh's avatar Simon Welsh

Update HHI files to the current state of PHPUnit 5.2

parent 7b532b8d
......@@ -64,15 +64,19 @@ abstract class PHPUnit_Framework_TestCase extends PHPUnit_Framework_Assert
bool $beStrictAboutChangeToGlobalState,
): void;
public function setExpectedException<T>(
?classname<T> $exceptionName,
?string $exceptionMessage = '',
?int $exceptionCode = null,
?classname<T> $name,
string $message = '',
?arraykey $code = null,
): void;
public function setExpectedExceptionRegExp<T>(
?classname<T> $exceptionName,
?string $exceptionMessageRegExp = '',
?int $exceptionCode = null,
?classname<T> $name,
string $messageRegExp = '',
?arraykey $code = null,
): void;
public function expectException<T>(?classname<T> $exception): void;
public function expectExceptionCode(arraykey $code): void;
public function expectExceptionMessage(string $message): void;
public function expectExceptionMessageRegExp(string $messageRegExp): void;
protected function setExpectedExceptionFromAnnotation(): void;
public function setInIsolation(bool $inIsolation): void;
protected function setLocale(int $category, string $locale, ...): void;
......
......@@ -4,11 +4,6 @@
// actual implementation, so no bonus types :(
interface PHPUnit_Framework_TestListener {
public function addError(PHPUnit_Framework_Test $test, Exception $e, $time);
public function addWarning(
PHPUnit_Framework_Test $test,
PHPUnit_Framework_Warning $e,
$time,
);
public function addFailure(
PHPUnit_Framework_Test $test,
PHPUnit_Framework_AssertionFailedError $e,
......
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