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);