From 10e74c655a969fc2828a1dc149ca062aa9d83cdc Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Tue, 23 Feb 2021 08:48:20 -0500 Subject: [PATCH] Only load autoload files once for language server --- src/psalm-language-server.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/psalm-language-server.php b/src/psalm-language-server.php index 63b7f69262b..8ff93776fbc 100644 --- a/src/psalm-language-server.php +++ b/src/psalm-language-server.php @@ -285,8 +285,6 @@ function () use ($current_dir, $options, $vendor_dir): ?\Composer\Autoload\Class || !is_string($options['enable-autocomplete']) || strtolower($options['enable-autocomplete']) !== 'false'; -$config->visitComposerAutoloadFiles($project_analyzer); - if ($find_unused_code) { $project_analyzer->getCodebase()->reportUnusedCode($find_unused_code); }