Skip to content

Commit

Permalink
ResultCacheManager - skip deleted files in "files to analyse" list
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 2, 2020
1 parent 94bff9b commit 1100202
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Analyser/ResultCache/ResultCacheManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ public function restore(array $allAnalysedFiles, bool $debug): ResultCache

$filesToAnalyse[] = $analysedFile;
foreach ($dependentFiles as $dependentFile) {
if (!is_file($dependentFile)) {
continue;
}
$filesToAnalyse[] = $dependentFile;
}
}
Expand Down

0 comments on commit 1100202

Please sign in to comment.