Skip to content

Commit 2aaa3fc

Browse files
committed
Revert "Compatibility with current stable version of PHPStan"
This reverts commit c13141d.
1 parent c13141d commit 2aaa3fc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
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
"require-dev": {
1313
"beberlei/assert": "^2.9.5",

tests/Type/BeberleiAssert/ImpossibleCheckTypeMethodCallRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ImpossibleCheckTypeMethodCallRuleTest extends \PHPStan\Testing\RuleTestCas
1414

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

2020
/**

tests/Type/BeberleiAssert/ImpossibleCheckTypeStaticMethodCallRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ImpossibleCheckTypeStaticMethodCallRuleTest extends \PHPStan\Testing\RuleT
1414

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

2020

0 commit comments

Comments
 (0)