Skip to content

Commit

Permalink
Merge pull request #10457 from nicelocal/always_emit_AfterCodebasePop…
Browse files Browse the repository at this point in the history
…ulatedEvent

Emit AfterCodebasePopulatedEvent even on partial scans
  • Loading branch information
orklah committed Dec 7, 2023
2 parents bc71da4 + d5bac4d commit ea06da7
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 ea06da7

Please sign in to comment.