mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 20:39:43 +01:00
fix phsptan 0.11.13 compatibility
This commit is contained in:
parent
0ba915eede
commit
379278296d
@ -19,7 +19,7 @@
|
||||
"nette/utils": "^2.5|^3.0",
|
||||
"nikic/php-parser": "^4.2.2",
|
||||
"phpstan/phpdoc-parser": "^0.3.5",
|
||||
"phpstan/phpstan": "^0.11.10",
|
||||
"phpstan/phpstan": "^0.11.13",
|
||||
"phpstan/phpstan-phpunit": "^0.11.2",
|
||||
"sebastian/diff": "^3.0",
|
||||
"symfony/console": "^3.4|^4.2",
|
||||
|
@ -7,6 +7,7 @@ use PHPStan\Analyser\ScopeContext;
|
||||
use PHPStan\Analyser\ScopeFactory as PHPStanScopeFactory;
|
||||
use PHPStan\Analyser\TypeSpecifier;
|
||||
use PHPStan\Broker\Broker;
|
||||
use PHPStan\Rules\Properties\PropertyReflectionFinder;
|
||||
use Rector\PhpParser\Printer\BetterStandardPrinter;
|
||||
|
||||
final class ScopeFactory
|
||||
@ -50,6 +51,7 @@ final class ScopeFactory
|
||||
$this->broker,
|
||||
$this->betterStandardPrinter,
|
||||
$this->typeSpecifier,
|
||||
new PropertyReflectionFinder(),
|
||||
ScopeContext::create($filePath)
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user