File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1515 "require" : {
1616 "php" : " ^7.1 || ^8.0" ,
1717 "ext-simplexml" : " *" ,
18- "phpstan/phpstan" : " ^0.12.26 "
18+ "phpstan/phpstan" : " ^0.12.51 "
1919 },
2020 "conflict" : {
2121 "symfony/framework-bundle" : " <3.0"
Original file line number Diff line number Diff line change 1111use PHPStan \Cache \Cache ;
1212use PHPStan \File \FileHelper ;
1313use PHPStan \Node \VirtualNode ;
14+ use PHPStan \Php \PhpVersion ;
1415use PHPStan \PhpDoc \PhpDocInheritanceResolver ;
1516use PHPStan \PhpDoc \PhpDocNodeResolver ;
1617use PHPStan \PhpDoc \PhpDocStringResolver ;
@@ -51,6 +52,7 @@ protected function processFile(
5152$ this ->getClassReflectionExtensionRegistryProvider (),
5253$ parser ,
5354$ fileTypeMapper ,
55+ new PhpVersion (PHP_VERSION_ID ),
5456new PhpDocInheritanceResolver ($ fileTypeMapper ),
5557$ fileHelper ,
5658$ typeSpecifier ,
You can’t perform that action at this time.
0 commit comments