Skip to content

Commit

Permalink
Emit AfterCodebasePopulatedEvent even on partial scans
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Dec 7, 2023
1 parent c620f6e commit d5bac4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Psalm/Internal/Analyzer/ProjectAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,10 @@ public function checkPaths(array $paths_to_check): void

$this->config->visitStubFiles($this->codebase, $this->progress);

$event = new AfterCodebasePopulatedEvent($this->codebase);

$this->config->eventDispatcher->dispatchAfterCodebasePopulated($event);

$this->progress->startAnalyzingFiles();

$this->codebase->analyzer->analyzeFiles(
Expand Down

0 comments on commit d5bac4d

Please sign in to comment.