From f501b8f000199f4d9cc4e0b656423c7da325cea3 Mon Sep 17 00:00:00 2001 From: Alexey Kopytko Date: Tue, 29 Sep 2020 11:34:48 +0900 Subject: [PATCH] Ignore additional generics annotations Including for Phan, Psalm, and Infection. --- lib/Doctrine/Common/Annotations/AnnotationReader.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Doctrine/Common/Annotations/AnnotationReader.php b/lib/Doctrine/Common/Annotations/AnnotationReader.php index a51a657f9..eb847ce1a 100644 --- a/lib/Doctrine/Common/Annotations/AnnotationReader.php +++ b/lib/Doctrine/Common/Annotations/AnnotationReader.php @@ -137,6 +137,10 @@ class AnnotationReader implements Reader 'implements' => true, 'extends' => true, 'use' => true, + // Phan, Psalm, Infection + 'phan' => true, + 'psalm' => true, + 'infection' => true, ]; /**