Skip to content

Commit b0a6eec

Browse files
committed
Build compatibility with PHPStan 0.12.6
1 parent 2639499 commit b0a6eec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "~7.1",
10-
"phpstan/phpstan": "^0.12.4"
10+
"phpstan/phpstan": "^0.12.6"
1111
},
1212
"conflict": {
1313
"phpunit/phpunit": "<7.0"

tests/Rules/PHPUnit/AssertSameMethodDifferentTypesRuleTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class AssertSameMethodDifferentTypesRuleTest extends \PHPStan\Testing\RuleTestCa
1515

1616
protected function getRule(): Rule
1717
{
18-
return new ImpossibleCheckTypeMethodCallRule(new ImpossibleCheckTypeHelper($this->createBroker(), $this->getTypeSpecifier(), []), true);
18+
return new ImpossibleCheckTypeMethodCallRule(new ImpossibleCheckTypeHelper($this->createBroker(), $this->getTypeSpecifier(), [], true), true, true);
1919
}
2020

2121
/**

tests/Rules/PHPUnit/AssertSameStaticMethodDifferentTypesRuleTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class AssertSameStaticMethodDifferentTypesRuleTest extends \PHPStan\Testing\Rule
1515

1616
protected function getRule(): Rule
1717
{
18-
return new ImpossibleCheckTypeStaticMethodCallRule(new ImpossibleCheckTypeHelper($this->createBroker(), $this->getTypeSpecifier(), []), true);
18+
return new ImpossibleCheckTypeStaticMethodCallRule(new ImpossibleCheckTypeHelper($this->createBroker(), $this->getTypeSpecifier(), [], true), true, true);
1919
}
2020

2121
/**

0 commit comments

Comments
 (0)