Skip to content

Commit 71445c9

Browse files
author
Mark Badolato
committed
Test tweaks
1 parent 4fef3e6 commit 71445c9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

tests/Rules/ConstantBooleanIdenticalRuleTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ public function testRule(): void
3636
protected function getRule(): Rule
3737
{
3838
$ruleLevelHelper = new RuleLevelHelper(
39-
$this->createBroker(),
39+
$this->createReflectionProvider(),
4040
true,
4141
false,
42+
true,
4243
true
4344
);
4445

tests/Rules/ConstantBooleanNotIdenticalRuleTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ public function testRule(): void
3636
protected function getRule(): Rule
3737
{
3838
$ruleLevelHelper = new RuleLevelHelper(
39-
$this->createBroker(),
39+
$this->createReflectionProvider(),
4040
true,
4141
false,
42+
true,
4243
true
4344
);
4445

tests/Rules/InstanceOfVsNotNullRuleTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ protected function getRule(): Rule
2323
{
2424
return new InstanceOfVsNotNullRule(
2525
new RuleLevelHelper(
26-
$this->createBroker(),
26+
$this->createReflectionProvider(),
2727
true,
2828
false,
29+
true,
2930
true
3031
)
3132
);

0 commit comments

Comments
 (0)