mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Add included files when scanning cached storage
This commit is contained in:
parent
d8b9bcba4d
commit
82fe241831
@ -293,6 +293,10 @@ class Scanner
|
||||
$this->file_storage_provider->cache->writeToCache($file_storage, $file_contents);
|
||||
}
|
||||
} else {
|
||||
foreach ($file_storage->included_file_paths as $file_path) {
|
||||
$this->codebase->scanner->queueFileForScanning($file_path);
|
||||
}
|
||||
|
||||
foreach ($file_storage->classlikes_in_file as $fq_classlike_name) {
|
||||
$this->codebase->exhumeClassLikeStorage($fq_classlike_name, $file_path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user