Skip to content

Commit

Permalink
Fix: Remove unused private method
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored and sebastianbergmann committed Dec 30, 2020
1 parent 12a30df commit 1409ae2
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions tests/unit/Runner/PhptTestCaseTest.php
Expand Up @@ -11,7 +11,6 @@

use const PHP_EOL;
use function file_put_contents;
use function strtr;
use function sys_get_temp_dir;
use function touch;
use function unlink;
Expand Down Expand Up @@ -252,23 +251,4 @@ private function setPhpContent($content): void
{
file_put_contents($this->filename, $content);
}

/**
* Ensures the correct line ending is used for comparison.
*
* @param string $content
*
* @return string
*/
private function ensureCorrectEndOfLine($content)
{
return strtr(
$content,
[
"\r\n" => PHP_EOL,
"\r" => PHP_EOL,
"\n" => PHP_EOL,
]
);
}
}

0 comments on commit 1409ae2

Please sign in to comment.