Skip to content

Commit 2ef28b2

Browse files
committed
Adding PHPStan 0.12 compatibility
Also, upgrading to Safe 1.0-beta
1 parent 70bfb67 commit 2ef28b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
],
1212
"require": {
1313
"php": "^7.1",
14-
"phpstan/phpstan": "^0.10 | ^0.11",
15-
"thecodingmachine/safe": "^0.1.11"
14+
"phpstan/phpstan": "^0.10 | ^0.11 | ^0.12",
15+
"thecodingmachine/safe": "^1.0-beta"
1616
},
1717
"require-dev": {
1818
"phpunit/phpunit": "^7.5.2",

tests/Rules/CallMethodRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protected function getRule(): Rule
1717
$ruleLevelHelper = new RuleLevelHelper($broker, true, true, true);
1818
return new CallMethodsRule(
1919
$broker,
20-
new FunctionCallParametersCheck($ruleLevelHelper, true, true),
20+
new FunctionCallParametersCheck($ruleLevelHelper, true, true, true, true),
2121
$ruleLevelHelper,
2222
true,
2323
true

0 commit comments

Comments
 (0)