Skip to content

Commit

Permalink
Fix warnings on php8 (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
tugmaks committed Nov 23, 2020
1 parent 23f8d7c commit ea988e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Runners/PHPUnit/ExecutableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ final public function getPath(): string
return $this->path;
}

final private function touchTempFile(?string &$tempName, string $prefix): string
private function touchTempFile(?string &$tempName, string $prefix): string
{
if ($tempName === null) {
$newFile = tempnam($this->tmpDir, $prefix);
Expand All @@ -91,7 +91,7 @@ final private function touchTempFile(?string &$tempName, string $prefix): string
return $tempName;
}

final private function unlinkTempFile(?string &$tempName): void
private function unlinkTempFile(?string &$tempName): void
{
if ($tempName === null) {
return;
Expand Down

0 comments on commit ea988e5

Please sign in to comment.