Skip to content

Commit

Permalink
Further improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 6, 2022
1 parent 8d64aee commit b5dce9e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/phpstan/parser.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
# this file overrides definitions from the config above
services:
defaultAnalysisParser:
factory: @cachedPathRoutingParser
factory: @pathRoutingParser
arguments!: []

cachedPathRoutingParser:
cachedRectorParser:
class: PHPStan\Parser\CachedParser
arguments:
originalParser: @pathRoutingParser
originalParser: @rectorParser
cachedNodesByStringCountMax: %cache.nodesByStringCountMax%
autowired: false

pathRoutingParser:
class: PHPStan\Parser\PathRoutingParser
arguments:
currentPhpVersionRichParser: @rectorParser
currentPhpVersionSimpleParser: @rectorParser
currentPhpVersionRichParser: @cachedRectorParser
currentPhpVersionSimpleParser: @cachedRectorParser
php8Parser: @php8Parser
autowired: false

Expand Down

0 comments on commit b5dce9e

Please sign in to comment.