Skip to content

Commit 36c8cd7

Browse files
committed
Open 0.12-dev
1 parent 5ecd82f commit 36c8cd7

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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": [
@@ -25,7 +25,7 @@
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": {
@@ -35,9 +35,9 @@
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",

phpstan.neon

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ includes:
77

88
parameters:
99
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

tests/Type/Symfony/ExtensionTestCase.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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,
5252
true,

0 commit comments

Comments
 (0)