Skip to content

Commit e27a809

Browse files
committed
Merge branch 'hotfix/1.0.8'
2 parents 0dc7a39 + 76e9c8c commit e27a809

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sempro/phpunit-pretty-print",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "Prettify PHPUnit output",
55
"type": "library",
66
"license": "MIT",

src/PrettyPrinter.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ class PrettyPrinter extends ResultPrinter implements TestListener
1515
protected $className;
1616
protected $previousClassName;
1717

18-
public function startTestSuite(TestSuite $suite): void
18+
public function startTestSuite(TestSuite $suite)
1919
{
2020
parent::startTestSuite($suite);
2121
}
2222

23-
public function startTest(Test $test): void
23+
public function startTest(Test $test)
2424
{
2525
$this->className = get_class($test);
2626
}
2727

28-
public function endTest(Test $test, float $time): void
28+
public function endTest(Test $test, float $time)
2929
{
3030
parent::endTest($test, $time);
3131

@@ -88,7 +88,7 @@ public function endTest(Test $test, float $time): void
8888
$this->writeWithColor($timeColor, '[' . number_format($time, 3) . 's]', true);
8989
}
9090

91-
protected function writeProgress(string $progress): void
91+
protected function writeProgress(string $progress)
9292
{
9393
if ($this->previousClassName !== $this->className) {
9494
$this->write("\n");
@@ -126,7 +126,7 @@ protected function writeProgress(string $progress): void
126126
}
127127
}
128128

129-
protected function printDefectTrace(TestFailure $defect): void
129+
protected function printDefectTrace(TestFailure $defect)
130130
{
131131
$this->write($this->formatExceptionMsg($defect->getExceptionAsString()));
132132
$trace = Filter::getFilteredStacktrace(

0 commit comments

Comments
 (0)