diff --git a/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php b/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php index 3dd7a6460..ed22c279d 100644 --- a/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php @@ -1065,6 +1065,10 @@ final class ProjectAnalyzer $this->config->visitStubFiles($this->codebase, $this->progress); + $event = new AfterCodebasePopulatedEvent($this->codebase); + + $this->config->eventDispatcher->dispatchAfterCodebasePopulated($event); + $this->progress->startAnalyzingFiles(); $this->codebase->analyzer->analyzeFiles(