1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Get config constants after autoload script

This commit is contained in:
Matthew Brown 2017-02-01 14:56:10 -05:00
parent e925e8b4db
commit bf042772bd

View File

@ -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;
}