1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Create storage for plugins before scanning

This commit is contained in:
Matt Brown 2017-08-08 11:03:45 -04:00
parent 4b5a5ead74
commit 8f9fdcb637

View File

@ -478,6 +478,7 @@ class Config
public function initializePlugins(ProjectChecker $project_checker)
{
foreach ($this->filetype_handlers as &$path) {
$project_checker->file_storage_provider->create($path);
$plugin_file_checker = new FileChecker($path, $project_checker);
$plugin_file_checker->scan();