From 4aee737c5a15ed900f2254cfb6593a3032b9a527 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Fri, 11 Dec 2020 13:47:35 +0100 Subject: [PATCH] Remove void return type from test methods --- Tests/Helper/ProgressBarTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tests/Helper/ProgressBarTest.php b/Tests/Helper/ProgressBarTest.php index b5d2b5f6e..24c69789c 100644 --- a/Tests/Helper/ProgressBarTest.php +++ b/Tests/Helper/ProgressBarTest.php @@ -872,7 +872,7 @@ public function provideFormat(): array ]; } - public function testIterate(): void + public function testIterate() { $bar = new ProgressBar($output = $this->getOutputStream(), 0, 0); @@ -887,7 +887,7 @@ public function testIterate(): void ); } - public function testIterateUncountable(): void + public function testIterateUncountable() { $bar = new ProgressBar($output = $this->getOutputStream(), 0, 0); @@ -936,7 +936,7 @@ public function testBarWidthWithMultilineFormat() putenv('COLUMNS=120'); } - public function testMinAndMaxSecondsBetweenRedraws(): void + public function testMinAndMaxSecondsBetweenRedraws() { $bar = new ProgressBar($output = $this->getOutputStream()); $bar->setRedrawFrequency(1); @@ -959,7 +959,7 @@ public function testMinAndMaxSecondsBetweenRedraws(): void ); } - public function testMaxSecondsBetweenRedraws(): void + public function testMaxSecondsBetweenRedraws() { $bar = new ProgressBar($output = $this->getOutputStream(), 0, 0); $bar->setRedrawFrequency(4); // disable step based redraws @@ -1014,7 +1014,7 @@ public function testMinSecondsBetweenRedraws() ); } - public function testNoWriteWhenMessageIsSame(): void + public function testNoWriteWhenMessageIsSame() { $bar = new ProgressBar($output = $this->getOutputStream(), 2); $bar->start();