diff --git a/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php b/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php
index 24ffa0d4168..5e3049f61af 100644
--- a/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php
+++ b/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php
@@ -30,6 +30,8 @@
/**
* The AnnotationDriver reads the mapping metadata from docblock annotations.
+ *
+ * @deprecated This class will be removed in 3.0 without replacement.
*/
class AnnotationDriver extends CompatibilityAnnotationDriver
{
diff --git a/psalm.xml b/psalm.xml
index f4007535120..81d8fe8476b 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -36,6 +36,7 @@
+