From 922365d2c5539f5b456ea21877048407341938c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Tue, 10 Oct 2023 15:05:23 +0200 Subject: [PATCH] Add missing "deprecated" annotation on the annotation driver --- lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php | 2 ++ psalm.xml | 1 + 2 files changed, 3 insertions(+) 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 56c364634a4..43e7baf4dca 100644 --- a/psalm.xml +++ b/psalm.xml @@ -36,6 +36,7 @@ +