From 296911c4ab9e4d8254de3ce34317283637b47e22 Mon Sep 17 00:00:00 2001 From: Dorian V Date: Fri, 1 Jul 2022 17:39:35 +0200 Subject: [PATCH] Ignore PHPStan annotation @readonly see https://github.com/phpstan/phpstan-src/pull/1295 --- .../Common/Annotations/ImplicitlyIgnoredAnnotationNames.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Doctrine/Common/Annotations/ImplicitlyIgnoredAnnotationNames.php b/lib/Doctrine/Common/Annotations/ImplicitlyIgnoredAnnotationNames.php index 2efeb1d22..ab27f8a5c 100644 --- a/lib/Doctrine/Common/Annotations/ImplicitlyIgnoredAnnotationNames.php +++ b/lib/Doctrine/Common/Annotations/ImplicitlyIgnoredAnnotationNames.php @@ -147,6 +147,7 @@ final class ImplicitlyIgnoredAnnotationNames // PHPStan, Psalm 'extends' => true, 'implements' => true, + 'readonly' => true, 'template' => true, 'use' => true,