mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 10:07:52 +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);
|
$this->file_storage_provider->cache->writeToCache($file_storage, $file_contents);
|
||||||
}
|
}
|
||||||
} else {
|
} 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) {
|
foreach ($file_storage->classlikes_in_file as $fq_classlike_name) {
|
||||||
$this->codebase->exhumeClassLikeStorage($fq_classlike_name, $file_path);
|
$this->codebase->exhumeClassLikeStorage($fq_classlike_name, $file_path);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user