[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:
Abdul Malik Ikhsan 2022-04-16 00:30:56 +07:00 committed by GitHub
parent c7e4530a82
commit 91b8573525
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -7,7 +7,7 @@
],
"require": {
"php": "^7.2|^8.0",
"phpstan/phpstan": "^1.5.5"
"phpstan/phpstan": "^1.5.6"
},
"autoload": {
"files": [

View File

@ -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",

View File

@ -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