File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 15
15
"require" : {
16
16
"php" : " ^7.1 || ^8.0" ,
17
17
"ext-simplexml" : " *" ,
18
- "phpstan/phpstan" : " ^0.12.26 "
18
+ "phpstan/phpstan" : " ^0.12.51 "
19
19
},
20
20
"conflict" : {
21
21
"symfony/framework-bundle" : " <3.0"
Original file line number Diff line number Diff line change 11
11
use PHPStan \Cache \Cache ;
12
12
use PHPStan \File \FileHelper ;
13
13
use PHPStan \Node \VirtualNode ;
14
+ use PHPStan \Php \PhpVersion ;
14
15
use PHPStan \PhpDoc \PhpDocInheritanceResolver ;
15
16
use PHPStan \PhpDoc \PhpDocNodeResolver ;
16
17
use PHPStan \PhpDoc \PhpDocStringResolver ;
@@ -51,6 +52,7 @@ protected function processFile(
51
52
$ this ->getClassReflectionExtensionRegistryProvider (),
52
53
$ parser ,
53
54
$ fileTypeMapper ,
55
+ new PhpVersion (PHP_VERSION_ID ),
54
56
new PhpDocInheritanceResolver ($ fileTypeMapper ),
55
57
$ fileHelper ,
56
58
$ typeSpecifier ,
You can’t perform that action at this time.
0 commit comments