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" ,
17
17
"ext-simplexml" : " *" ,
18
- "phpstan/phpstan" : " ^0.12.24 "
18
+ "phpstan/phpstan" : " ^0.12.26 "
19
19
},
20
20
"conflict" : {
21
21
"symfony/framework-bundle" : " <3.0"
Original file line number Diff line number Diff line change 14
14
use PHPStan \PhpDoc \PhpDocInheritanceResolver ;
15
15
use PHPStan \PhpDoc \PhpDocNodeResolver ;
16
16
use PHPStan \PhpDoc \PhpDocStringResolver ;
17
+ use PHPStan \Reflection \ReflectionProvider \DirectReflectionProviderProvider ;
17
18
use PHPStan \Testing \TestCase ;
18
19
use PHPStan \Type \DynamicMethodReturnTypeExtension ;
19
20
use PHPStan \Type \FileTypeMapper ;
@@ -37,6 +38,7 @@ protected function processFile(
37
38
/** @var \PHPStan\PhpDoc\PhpDocStringResolver $phpDocStringResolver */
38
39
$ phpDocStringResolver = self ::getContainer ()->getByType (PhpDocStringResolver::class);
39
40
$ fileTypeMapper = new FileTypeMapper (
41
+ new DirectReflectionProviderProvider ($ broker ),
40
42
$ parser ,
41
43
$ phpDocStringResolver ,
42
44
self ::getContainer ()->getByType (PhpDocNodeResolver::class),
You can’t perform that action at this time.
0 commit comments