Skip to content

Commit

Permalink
Remove void return type from test methods
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Dec 11, 2020
1 parent 1e5ed7c commit 4aee737
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Tests/Helper/ProgressBarTest.php
Expand Up @@ -872,7 +872,7 @@ public function provideFormat(): array
];
}

public function testIterate(): void
public function testIterate()
{
$bar = new ProgressBar($output = $this->getOutputStream(), 0, 0);

Expand All @@ -887,7 +887,7 @@ public function testIterate(): void
);
}

public function testIterateUncountable(): void
public function testIterateUncountable()
{
$bar = new ProgressBar($output = $this->getOutputStream(), 0, 0);

Expand Down Expand Up @@ -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);
Expand All @@ -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
Expand Down Expand Up @@ -1014,7 +1014,7 @@ public function testMinSecondsBetweenRedraws()
);
}

public function testNoWriteWhenMessageIsSame(): void
public function testNoWriteWhenMessageIsSame()
{
$bar = new ProgressBar($output = $this->getOutputStream(), 2);
$bar->start();
Expand Down

0 comments on commit 4aee737

Please sign in to comment.