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 1414 "prefer-stable" : true ,
1515 "extra" : {
1616 "branch-alias" : {
17- "dev-master" : " 0.11 -dev"
17+ "dev-master" : " 0.12 -dev"
1818 },
1919 "phpstan" : {
2020 "includes" : [
2525 "require" : {
2626 "php" : " ^7.1" ,
2727 "ext-simplexml" : " *" ,
28- "phpstan/phpstan" : " ^0.11.7 " ,
28+ "phpstan/phpstan" : " ^0.12 " ,
2929 "nikic/php-parser" : " ^4.0"
3030 },
3131 "require-dev" : {
3535 "nette/di" : " ^3.0-stable" ,
3636 "phpunit/phpunit" : " ^7.0" ,
3737 "phing/phing" : " ^2.16.0" ,
38- "phpstan/phpstan-strict-rules" : " ^0.11 " ,
38+ "phpstan/phpstan-strict-rules" : " ^0.12 " ,
3939 "slevomat/coding-standard" : " ^4.5.2" ,
40- "phpstan/phpstan-phpunit" : " ^0.11 " ,
40+ "phpstan/phpstan-phpunit" : " ^0.12 " ,
4141 "symfony/framework-bundle" : " ^3.0 || ^4.0" ,
4242 "squizlabs/php_codesniffer" : " ^3.3.2" ,
4343 "symfony/serializer" : " ^3.0 || ^4.0" ,
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ includes:
77
88parameters :
99excludes_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(
4040$ resolver = new NodeScopeResolver (
4141$ broker ,
4242$ parser ,
43- new FileTypeMapper (...[ // PHPStan commit 7b23c31 broke the constructor so we have to use splat here
43+ new FileTypeMapper (
4444$ parser ,
4545$ phpDocStringResolver ,
4646$ 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+ ),
5050$ fileHelper ,
5151$ typeSpecifier ,
5252true ,
You can’t perform that action at this time.
0 commit comments