Skip to content

Commit 855374c

Browse files
committed
Revert "Compatibility with stable version of PHPStan"
This reverts commit fe49777.
1 parent fe49777 commit 855374c

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.3"
10+
"phpstan/phpstan": "^0.12.4"
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);
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);
1919
}
2020

2121
/**

0 commit comments

Comments
 (0)