Skip to content

Commit

Permalink
Includes PHPStan bleedingEdge.neon config in phpstan-for-rector and p…
Browse files Browse the repository at this point in the history
…hpstan-for-downgrade config (#3274)
  • Loading branch information
samsonasik committed Jan 12, 2023
1 parent 69c4ca8 commit 7c4d0ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/config/phpstan-for-downgrade.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
includes:
- phar://vendor/phpstan/phpstan/phpstan.phar/conf/bleedingEdge.neon

# this config has extensions, that helps PHPStan inside Rector to resolve more precise types
parameters:
inferPrivatePropertyTypeFromConstructor: true
Expand Down
3 changes: 3 additions & 0 deletions phpstan-for-rector.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
includes:
- phar://vendor/phpstan/phpstan/phpstan.phar/conf/bleedingEdge.neon

# this config has extensions, that helps PHPStan inside Rector to resolve more precise types
parameters:
inferPrivatePropertyTypeFromConstructor: true
Expand Down

0 comments on commit 7c4d0ce

Please sign in to comment.