mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Get config constants after autoload script
This commit is contained in:
parent
e925e8b4db
commit
bf042772bd
@ -176,8 +176,6 @@ class Config
|
||||
{
|
||||
self::$config = $this;
|
||||
|
||||
$this->collectPredefinedConstants();
|
||||
$this->collectPredefinedFunctions();
|
||||
$this->collectPredefinedClassLikes();
|
||||
}
|
||||
|
||||
@ -382,6 +380,9 @@ class Config
|
||||
require_once(getcwd() . DIRECTORY_SEPARATOR . $config->autoloader);
|
||||
}
|
||||
|
||||
$config->collectPredefinedConstants();
|
||||
$config->collectPredefinedFunctions();
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user