Commit c180751a authored by Simon Welsh's avatar Simon Welsh

Merge branch 'further-hhi' into 'master'

Finish creating HHI files for PHPUnit_Framework

Everything under `PHPUnit_Framework` that's included in `phpunit/phpunit` now has HHI files.

Closes #3.

See merge request !4
parents 016875c5 0dc01642
<?hh // decl
abstract class PHPUnit_Framework_BaseTestListener
implements PHPUnit_Framework_TestListener {
public function addError(PHPUnit_Framework_Test $test, Exception $e, $time);
public function addFailure(
PHPUnit_Framework_Test $test,
PHPUnit_Framework_AssertionFailedError $e,
$time,
);
public function addIncompleteTest(
PHPUnit_Framework_Test $test,
Exception $e,
$time,
);
public function addRiskyTest(
PHPUnit_Framework_Test $test,
Exception $e,
$time,
);
public function addSkippedTest(
PHPUnit_Framework_Test $test,
Exception $e,
$time,
);
public function startTestSuite(PHPUnit_Framework_TestSuite $suite);
public function endTestSuite(PHPUnit_Framework_TestSuite $suite);
public function startTest(PHPUnit_Framework_Test $test);
public function endTest(PHPUnit_Framework_Test $test, $time);
}
<?hh // decl
class PHPUnit_Framework_CodeCoverageException
extends PHPUnit_Framework_Exception {}
<?hh // decl
class PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider {
public static function determineJsonError(
int $error,
string $prefix = '',
): string;
public static function translateTypeToPrefix(string $type): string;
}
<?hh // decl
class PHPUnit_Framework_Error extends PHPUnit_Framework_Exception {
public function __construct(
string $message,
int $code,
public string $file,
public int $line,
?Exception $previous = null,
);
}
<?hh // decl
class PHPUnit_Framework_Error_Deprecated extends PHPUnit_Framework_Error {
public static bool $enabled = true;
}
<?hh // decl
class PHPUnit_Framework_Error_Notice extends PHPUnit_Framework_Error {
public static bool $enabled = true;
}
<?hh // decl
class PHPUnit_Framework_Error_Warning extends PHPUnit_Framework_Error {
public static bool $enabled = true;
}
<?hh // decl
class PHPUnit_Framework_ExceptionWrapper extends PHPUnit_Framework_Exception {
protected classname<Exception> $classname;
public function __construct(Exception $e);
public function getClassname(): classname<Exception>;
public function getPreviousWrapper(): ?PHPUnit_Framework_ExceptionWrapper;
public function __toString(): string;
}
<?hh // decl
class PHPUnit_Framework_ExpectationFailedException
extends PHPUnit_Framework_AssertionFailedError {
public function __construct(
string $Message,
protected /*?SebastianBergmann\Comparator\ComparisonFailure */ $comparisonFailure = null,
?Exception $previous = null,
);
public function getComparisionFailure(
) /* :?SebastianBergmann\Comparator\ComparisonFailure */;
}
<?hh // decl
interface PHPUnit_Framework_IncompleteTest {}
<?hh // decl
class PHPUnit_Framework_IncompleteTestError
extends PHPUnit_Framework_AssertionFailedError
implements PHPUnit_Framework_IncompleteTest {}
<?hh // decl
class PHPUnit_Framework_InvalidCoversTargetError
extends PHPUnit_Framework_AssertionFailedError
implements PHPUnit_Framework_SkippedTest {}
<?hh // decl
class PHPUnit_Framework_InvalidCoversTargetException
extends PHPUnit_Framework_CodeCoverageException {}
<?hh // decl
class PHPUnit_Framework_OutputError
extends PHPUnit_Framework_AssertionFailedError {}
<?hh // decl
interface PHPUnit_Framework_RiskyTest {}
<?hh // decl
class PHPUnit_Framework_RiskyTestError
extends PHPUnit_Framework_AssertionFailedError
implements PHPUnit_Framework_RiskyTest {}
<?hh // decl
interface PHPUnit_Framework_SkippedTest {}
<?hh // decl
class PHPUnit_Framework_SkippedTestError
extends PHPUnit_Framework_AssertionFailedError
implements PHPUnit_Framework_SkippedTest {}
<?hh // decl
class PHPUnit_Framework_SkippedTestSuiteError
extends PHPUnit_Framework_AssertionFailedError
implements PHPUnit_Framework_SkippedTest {}
<?hh // decl
class PHPUnit_Framework_SyntheticError
extends PHPUnit_Framework_AssertionFailedError {
public function __construct(
string $Message,
int $code,
protected string $file,
protected int $line,
protected array $trace,
);
public function getSyntheticFile(): string;
public function getSyntheticLine(): int;
public function getSyntheticTrace(): array;
}
<?hh // decl
class PHPUnit_Framework_TestSuite_DataProvider
extends PHPUnit_Framework_TestSuite {
public function setDependencies(array<string> $dependencies): void;
}
<?hh // decl
class PHPUnit_Framework_UnintentionallyCoveredCodeError
extends PHPUnit_Framework_RiskyTestError {}
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