Skip to content

Commit

Permalink
Only load autoload files once for language server
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Feb 23, 2021
1 parent 69eb8e4 commit 10e74c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/psalm-language-server.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 10e74c6

Please sign in to comment.