Skip to content

Commit 08b3891

Browse files
committed
Set parseDoctrineAnnotations in phpdoc-parser to true
1 parent 804ea78 commit 08b3891

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conf/config.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,8 @@ services:
562562

563563
-
564564
class: PHPStan\PhpDocParser\Lexer\Lexer
565+
arguments:
566+
parseDoctrineAnnotations: true
565567

566568
-
567569
class: PHPStan\PhpDocParser\Parser\TypeParser
@@ -577,6 +579,7 @@ services:
577579
arguments:
578580
requireWhitespaceBeforeDescription: %featureToggles.phpDocParserRequireWhitespaceBeforeDescription%
579581
preserveTypeAliasesWithInvalidTypes: true
582+
parseDoctrineAnnotations: true
580583

581584
-
582585
class: PHPStan\PhpDoc\ConstExprParserFactory

0 commit comments

Comments
 (0)