Skip to content

Commit 9fdaadd

Browse files
committed
Fix build
1 parent 543ac61 commit 9fdaadd

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/PHPStan/Rules/Comparison/Bug14534Test.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ protected function getRule(): Rule
1818
return new StrictComparisonOfDifferentTypesRule(
1919
self::getContainer()->getByType(RicherScopeGetTypeHelper::class),
2020
new PossiblyImpureTipHelper(true),
21-
true,
22-
true,
23-
true,
21+
self::getContainer()->getByType(ConstantConditionInTraitHelper::class),
22+
treatPhpDocTypesAsCertain: true,
23+
reportAlwaysTrueInLastCondition: true,
24+
treatPhpDocTypesAsCertainTip: true,
2425
);
2526
}
2627

0 commit comments

Comments
 (0)