Skip to content
Browse files

Be paranoid (for issue #80).

  • Loading branch information...
1 parent 15e117e commit 47612b9cf152cd02781e6f89381b19ca3f9bf1db @sebastianbergmann sebastianbergmann committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 PHP/CodeCoverage.php
View
4 PHP/CodeCoverage.php
@@ -477,6 +477,10 @@ protected function processUncoveredFilesFromWhitelist()
);
foreach ($uncoveredFiles as $uncoveredFile) {
+ if (!file_exists($uncoveredFile)) {
+ continue;
+ }
+
if ($this->cacheTokens) {
$tokens = PHP_Token_Stream_CachingFactory::get($uncoveredFile);
} else {

0 comments on commit 47612b9

Please sign in to comment.
Something went wrong with that request. Please try again.