Skip to content

Commit

Permalink
fixup! add own RectorPathRoutingParser that handles test with rich pa…
Browse files Browse the repository at this point in the history
…rser by default to let PHPStan know the types
  • Loading branch information
TomasVotruba committed Feb 9, 2022
1 parent 146f2cb commit 5aad6bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -603,3 +603,6 @@ parameters:
-
message: '#Array with keys is not allowed\. Use value object to pass data instead#'
path: packages/PhpAttribute/Printer/PhpAttributeGroupFactory.php

# on purpose to fix tests + old PHP version parsing code and keep compatbility
- '#Extending PHPStan\\Parser\\PathRoutingParser is not covered by backward compatibility promise\. The class might change in a minor PHPStan version#'

0 comments on commit 5aad6bc

Please sign in to comment.