Skip to content

Commit

Permalink
Removed the need to instruct Psalm to re-analyze $path: it already …
Browse files Browse the repository at this point in the history
…does that when `$codebase` files are invalidated
  • Loading branch information
Ocramius committed Jan 27, 2025
1 parent a7c7aa5 commit a07ee8f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ public function isMutantStillValidAccordingToStaticAnalysis(Mutant $mutant): boo
->getOriginalFilePath(),
);

$codebase->addFilesToAnalyze([$path => $path]);
$codebase->scanFiles();

if (! $this->alreadyVisitedStubs) {
$codebase->config->visitPreloadedStubFiles($codebase);
$codebase->config->visitStubFiles($codebase);
Expand Down

0 comments on commit a07ee8f

Please sign in to comment.