diff --git a/config.xsd b/config.xsd
index 7d076a14b..01115776b 100644
--- a/config.xsd
+++ b/config.xsd
@@ -85,6 +85,11 @@
Default is runtime-specific: if not present, Psalm will only load the Xdebug stub if psalm has unloaded the extension.
+
+
+
+ Deprecated. In Psalm 5 extensions will be loaded based on composer.json and overridden with enableExtensions/disableExtensions.
+
diff --git a/psalm-baseline.xml b/psalm-baseline.xml
index 1a2dc6c1b..bd1946230 100644
--- a/psalm-baseline.xml
+++ b/psalm-baseline.xml
@@ -26,13 +26,14 @@
-
+
$codebase->php_major_version
$codebase->php_major_version
$codebase->php_major_version
$codebase->php_major_version
$codebase->php_minor_version
$codebase->php_minor_version
+ $this->load_xdebug_stub
getAdditionalFileExtensions
@@ -386,6 +387,12 @@
$stmt->expr->getArgs()[0]
+
+
+ $config->load_xdebug_stub
+ $config->load_xdebug_stub
+
+
new TEmpty()
diff --git a/src/Psalm/Config.php b/src/Psalm/Config.php
index 6392d72d4..3cf99bb8b 100644
--- a/src/Psalm/Config.php
+++ b/src/Psalm/Config.php
@@ -195,6 +195,8 @@ class Config
/**
* Whether or not to load Xdebug stub
*
+ * @deprecated going to be removed in Psalm 5
+ *
* @var bool|null
*/
public $load_xdebug_stub;