Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make sure the file exists
  • Loading branch information
sebastianbergmann committed Jun 28, 2014
1 parent c8decd0 commit 349f614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CodeCoverage/Filter.php
Expand Up @@ -261,7 +261,7 @@ public function isFile($filename)
return false;
}

return true;
return file_exists($filename);
}

/**
Expand Down

0 comments on commit 349f614

Please sign in to comment.