Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry BLIND2019-07-12 06:15:55 -0400
committerThierry BLIND2019-07-12 06:15:55 -0400
commit9965c53eb0a42ddf6766f4f38745673c3e3147a5 (patch)
tree902e91167dcffa7c024fcc15b4d723753be437fc
parent0b207c853502c9cbf0d059fb95b6a361a7a1b201 (diff)
downloadorg.eclipse.pdt-9965c53eb0a42ddf6766f4f38745673c3e3147a5.tar.gz
org.eclipse.pdt-9965c53eb0a42ddf6766f4f38745673c3e3147a5.tar.xz
org.eclipse.pdt-9965c53eb0a42ddf6766f4f38745673c3e3147a5.zip
Bug 549215 - Support for latest PHPUnit releases
-rw-r--r--plugins/org.eclipse.php.phpunit/resources/printer/PHPUnitLogger.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/org.eclipse.php.phpunit/resources/printer/PHPUnitLogger.php b/plugins/org.eclipse.php.phpunit/resources/printer/PHPUnitLogger.php
index f55158009..f7b8fc60f 100644
--- a/plugins/org.eclipse.php.phpunit/resources/printer/PHPUnitLogger.php
+++ b/plugins/org.eclipse.php.phpunit/resources/printer/PHPUnitLogger.php
@@ -66,7 +66,7 @@ if (_RUNNER_VERSION >= 7) {
);
}
- public function setAutoFlush($autoFlush): void
+ public function setAutoFlush(bool $autoFlush): void
{
parent::setAutoFlush($autoFlush);
foreach ($this->loggers as $logger) {
@@ -98,7 +98,7 @@ if (_RUNNER_VERSION >= 7) {
}
}
- public function addWarning(Test $test, Warning $e, $time): void
+ public function addWarning(Test $test, Warning $e, float $time): void
{
parent::addWarning($test, $e, $time);
foreach ($this->loggers as $logger) {
@@ -106,7 +106,7 @@ if (_RUNNER_VERSION >= 7) {
}
}
- public function addFailure(Test $test, AssertionFailedError $e, $time): void
+ public function addFailure(Test $test, AssertionFailedError $e, float $time): void
{
parent::addFailure($test, $e, $time);
foreach ($this->loggers as $logger) {
@@ -114,7 +114,7 @@ if (_RUNNER_VERSION >= 7) {
}
}
- public function addIncompleteTest(Test $test, Throwable $t, $time): void
+ public function addIncompleteTest(Test $test, Throwable $t, float $time): void
{
parent::addIncompleteTest($test, $t, $time);
foreach ($this->loggers as $logger) {
@@ -122,7 +122,7 @@ if (_RUNNER_VERSION >= 7) {
}
}
- public function addRiskyTest(Test $test, Throwable $t, $time): void
+ public function addRiskyTest(Test $test, Throwable $t, float $time): void
{
parent::addRiskyTest($test, $t, $time);
foreach ($this->loggers as $logger) {
@@ -130,7 +130,7 @@ if (_RUNNER_VERSION >= 7) {
}
}
- public function addSkippedTest(Test $test, Throwable $t, $time): void
+ public function addSkippedTest(Test $test, Throwable $t, float $time): void
{
parent::addSkippedTest($test, $t, $time);
foreach ($this->loggers as $logger) {
@@ -163,7 +163,7 @@ if (_RUNNER_VERSION >= 7) {
}
}
- public function endTest(Test $test, $time): void
+ public function endTest(Test $test, float $time): void
{
parent::endTest($test, $time);
foreach ($this->loggers as $logger) {

Back to the top