Skip to content

Commit

Permalink
Remove :void in test function signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Dec 18, 2020
1 parent 4613dba commit 12e0712
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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
2 changes: 1 addition & 1 deletion Tests/Helper/TableTest.php
Expand Up @@ -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());

Expand Down

0 comments on commit 12e0712

Please sign in to comment.