File tree Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 14
14
"prefer-stable" : true ,
15
15
"extra" : {
16
16
"branch-alias" : {
17
- "dev-master" : " 0.11 -dev"
17
+ "dev-master" : " 0.12 -dev"
18
18
},
19
19
"phpstan" : {
20
20
"includes" : [
25
25
"require" : {
26
26
"php" : " ^7.1" ,
27
27
"ext-simplexml" : " *" ,
28
- "phpstan/phpstan" : " ^0.11.7 " ,
28
+ "phpstan/phpstan" : " ^0.12 " ,
29
29
"nikic/php-parser" : " ^4.0"
30
30
},
31
31
"require-dev" : {
35
35
"nette/di" : " ^3.0-stable" ,
36
36
"phpunit/phpunit" : " ^7.0" ,
37
37
"phing/phing" : " ^2.16.0" ,
38
- "phpstan/phpstan-strict-rules" : " ^0.11 " ,
38
+ "phpstan/phpstan-strict-rules" : " ^0.12 " ,
39
39
"slevomat/coding-standard" : " ^4.5.2" ,
40
- "phpstan/phpstan-phpunit" : " ^0.11 " ,
40
+ "phpstan/phpstan-phpunit" : " ^0.12 " ,
41
41
"symfony/framework-bundle" : " ^3.0 || ^4.0" ,
42
42
"squizlabs/php_codesniffer" : " ^3.3.2" ,
43
43
"symfony/serializer" : " ^3.0 || ^4.0" ,
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ includes:
7
7
8
8
parameters :
9
9
excludes_analyse :
10
- - */ tests/tmp/*
11
- - */ tests/*/Example*.php
12
- - */ tests/*/console_application_loader.php
13
- - */ tests/*/envelope_all.php
14
- - */ tests/*/header_bag_get.php
15
- - */ tests/*/kernel_interface.php
16
- - */ tests/*/request_get_content.php
17
- - */ tests/*/serializer.php
10
+ - tests/tmp/*
11
+ - tests/*/Example*.php
12
+ - tests/*/console_application_loader.php
13
+ - tests/*/envelope_all.php
14
+ - tests/*/header_bag_get.php
15
+ - tests/*/kernel_interface.php
16
+ - tests/*/request_get_content.php
17
+ - tests/*/serializer.php
Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ protected function processFile(
40
40
$ resolver = new NodeScopeResolver (
41
41
$ broker ,
42
42
$ parser ,
43
- new FileTypeMapper (...[ // PHPStan commit 7b23c31 broke the constructor so we have to use splat here
43
+ new FileTypeMapper (
44
44
$ parser ,
45
45
$ phpDocStringResolver ,
46
46
$ this ->createMock (Cache::class),
47
- $ this ->createMock (AnonymousClassNameHelper::class), // PHPStan commit 4fcdccc broke the helper so we have to use a mock here
48
- $ typeNodeResolver,
49
- ] ),
47
+ $ this ->createMock (AnonymousClassNameHelper::class),
48
+ $ typeNodeResolver
49
+ ),
50
50
$ fileHelper ,
51
51
$ typeSpecifier ,
52
52
true ,
You can’t perform that action at this time.
0 commit comments