mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix #470 - follow vendor directory symlinks
This commit is contained in:
parent
127c743906
commit
cf7c5c2a0d
@ -845,7 +845,11 @@ class Config
|
||||
*/
|
||||
public function getComposerClassMap()
|
||||
{
|
||||
$vendor_dir = $this->base_dir . 'vendor'; // this should ideally not be hardcoded
|
||||
$vendor_dir = realpath($this->base_dir . 'vendor'); // this should ideally not be hardcoded
|
||||
|
||||
if (!$vendor_dir) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$autoload_files_classmap =
|
||||
$vendor_dir . DIRECTORY_SEPARATOR . 'composer' . DIRECTORY_SEPARATOR . 'autoload_classmap.php';
|
||||
|
Loading…
Reference in New Issue
Block a user