Skip to content

Commit 79099b4

Browse files
staabmsebastianbergmann
authored andcommitted
Remove duplicate is_file() check
1 parent 01edd70 commit 79099b4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Runner/PhptTestCase.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ final class PhptTestCase implements Reorderable, SelfDescribing, Test
8989
*/
9090
public function __construct(string $filename, ?AbstractPhpProcess $phpUtil = null)
9191
{
92-
if (!is_file($filename)) {
93-
throw new FileDoesNotExistException($filename);
94-
}
95-
9692
$this->filename = $filename;
9793
$this->phpUtil = $phpUtil ?: AbstractPhpProcess::factory();
9894
}

0 commit comments

Comments
 (0)