From 8328c1d3aaacf70770fd268b9f632fbea684a71e Mon Sep 17 00:00:00 2001 From: Brown Date: Tue, 31 Mar 2020 22:32:48 -0400 Subject: [PATCH] Fix build --- psalm.xml.dist | 7 +++++++ src/Psalm/Internal/Analyzer/ProjectAnalyzer.php | 2 ++ 2 files changed, 9 insertions(+) diff --git a/psalm.xml.dist b/psalm.xml.dist index e8e934fb9..3f58c34b4 100644 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -26,6 +26,7 @@ + @@ -103,6 +104,12 @@ + + + + + + diff --git a/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php b/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php index a65098349..3be86e659 100644 --- a/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php @@ -507,6 +507,8 @@ class ProjectAnalyzer ) { $this->codebase->analyzer->addFilesToAnalyze($this->project_files); + $this->visitAutoloadFiles(); + $this->config->initializePlugins($this); $this->codebase->scanFiles($this->threads);