Skip to content

Commit

Permalink
Set parseDoctrineAnnotations in phpdoc-parser to true
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jun 1, 2023
1 parent 804ea78 commit 08b3891
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/config.neon
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,8 @@ services:

-
class: PHPStan\PhpDocParser\Lexer\Lexer
arguments:
parseDoctrineAnnotations: true

-
class: PHPStan\PhpDocParser\Parser\TypeParser
Expand All @@ -577,6 +579,7 @@ services:
arguments:
requireWhitespaceBeforeDescription: %featureToggles.phpDocParserRequireWhitespaceBeforeDescription%
preserveTypeAliasesWithInvalidTypes: true
parseDoctrineAnnotations: true

-
class: PHPStan\PhpDoc\ConstExprParserFactory
Expand Down

0 comments on commit 08b3891

Please sign in to comment.