From 12e071278e396cc3e1c149857337e9e192deca0b Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 18 Dec 2020 08:41:31 +0100 Subject: [PATCH] Remove :void in test function signatures --- Tests/Helper/ProgressBarTest.php | 10 +++++----- Tests/Helper/TableTest.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Tests/Helper/ProgressBarTest.php b/Tests/Helper/ProgressBarTest.php index 5804f9cd5..d927f4dfc 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(); diff --git a/Tests/Helper/TableTest.php b/Tests/Helper/TableTest.php index 3616333ec..dffaaf902 100644 --- a/Tests/Helper/TableTest.php +++ b/Tests/Helper/TableTest.php @@ -1263,7 +1263,7 @@ protected function getOutputContent(StreamOutput $output) return str_replace(\PHP_EOL, "\n", stream_get_contents($output->getStream())); } - public function testWithColspanAndMaxWith(): void + public function testWithColspanAndMaxWith() { $table = new Table($output = $this->getOutputStream());