diff --git a/bin/phar.psalm.xml b/bin/phar.psalm.xml
index 01098a2d88b..7fd4c48868e 100644
--- a/bin/phar.psalm.xml
+++ b/bin/phar.psalm.xml
@@ -2,7 +2,7 @@
-
+
+
+
+ Setting `totallyTyped` to `"true"` is equivalent to setting `errorLevel` to `"1"`. Setting `totallyTyped` to `"false"` is equivalent to setting `errorLevel` to `"2"` and `reportMixedIssues` to `"false"`
+
+
+
+
+ Deprecated. Replaced by `errorLevel` and `reportMixedIssues`.
+
+
+
diff --git a/src/Psalm/Config.php b/src/Psalm/Config.php
index f87ea240977..415e254e852 100644
--- a/src/Psalm/Config.php
+++ b/src/Psalm/Config.php
@@ -814,7 +814,9 @@ private static function processConfigDeprecations(
$deprecated_attributes = [
'allowCoercionFromStringToClassConst',
'allowPhpStormGenerics',
- 'forbidEcho'
+ 'forbidEcho',
+ 'loadXdebugStub',
+ 'totallyTyped'
];
$deprecated_elements = [
diff --git a/tests/Config/ConfigFileTest.php b/tests/Config/ConfigFileTest.php
index a6b5f4cd503..277f197aef3 100644
--- a/tests/Config/ConfigFileTest.php
+++ b/tests/Config/ConfigFileTest.php
@@ -174,9 +174,7 @@ public function removeKillsSpecifiedPluginWithOneRemaining(): void
{
$noPlugins = trim('
-
+
@@ -185,9 +183,7 @@ public function removeKillsSpecifiedPluginWithOneRemaining(): void
$abcEnabled = trim('
-
+
diff --git a/tests/fixtures/DestructiveAutoloader/psalm.xml b/tests/fixtures/DestructiveAutoloader/psalm.xml
index ec68f8f2e72..3a4cc64a8af 100644
--- a/tests/fixtures/DestructiveAutoloader/psalm.xml
+++ b/tests/fixtures/DestructiveAutoloader/psalm.xml
@@ -1,6 +1,5 @@