Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 71aefd4

Browse files
authored
Merge pull request #23 from matheusab/7.0
Fixed Report compatibility with PHPU7
2 parents f49f33e + 0999d1b commit 71aefd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ResultPrinter/Report.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function endTest(\PHPUnit\Framework\Test $test, float $time) : void
4141
$this->write($line . "\n");
4242
}
4343

44-
protected function endRun()
44+
protected function endRun() : void
4545
{
4646
$this->write("\nCodeception Results\n");
4747
$this->write(sprintf(
@@ -57,8 +57,8 @@ public function printResult(\PHPUnit\Framework\TestResult $result)
5757
{
5858
}
5959

60-
public function write($buffer)
60+
public function write($buffer) : void
6161
{
62-
62+
parent::write($buffer);
6363
}
6464
}

0 commit comments

Comments
 (0)