mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-28 23:10:51 +00:00
[PHPStan] Set compatible with upcoming PHPStan 1.6.x with set NodeConnectingVisitor tags (#2014)
* [PHPStan] Set compatible with upcoming PHPStan 1.6.x with set NodeConnectingVisitor tags * update phpstan 1.6.x-dev and conditional tags * try require phpstan/phpstan:1.6.x-dev in packages_tests workflow * remove ->tag call as register in PHPStan conditionalTags * clean up tweak packages-tests
This commit is contained in:
parent
c7e4530a82
commit
91b8573525
|
@ -7,7 +7,7 @@
|
|||
],
|
||||
"require": {
|
||||
"php": "^7.2|^8.0",
|
||||
"phpstan/phpstan": "^1.5.5"
|
||||
"phpstan/phpstan": "^1.5.6"
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"nikic/php-parser": "^4.13.2",
|
||||
"ondram/ci-detector": "^4.1",
|
||||
"phpstan/phpdoc-parser": "^1.4.4",
|
||||
"phpstan/phpstan": "^1.5.5",
|
||||
"phpstan/phpstan": "^1.5.6",
|
||||
"phpstan/phpstan-phpunit": "^1.0",
|
||||
"psr/log": "^2.0",
|
||||
"react/child-process": "^0.6.4",
|
||||
|
|
|
@ -3,6 +3,10 @@ parameters:
|
|||
featureToggles:
|
||||
disableRuntimeReflectionProvider: false
|
||||
|
||||
conditionalTags:
|
||||
PhpParser\NodeVisitor\NodeConnectingVisitor:
|
||||
phpstan.parser.richParserNodeVisitor: true
|
||||
|
||||
services:
|
||||
- Rector\NodeTypeResolver\Reflection\BetterReflection\RectorBetterReflectionSourceLocatorFactory
|
||||
- Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocator\IntermediateSourceLocator
|
||||
|
|
Loading…
Reference in New Issue
Block a user