Skip to content

Commit 2b8dae7

Browse files
Fix test
1 parent 1719af0 commit 2b8dae7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PHPStan/Rules/PhpDoc/WrongVariableNameInVarTagRuleTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ public function testBug4505(): void
189189

190190
public function testBug12458(): void
191191
{
192+
$this->checkTypeAgainstNativeType = true;
193+
$this->checkTypeAgainstPhpDocType = true;
194+
$this->strictWideningCheck = true;
195+
192196
$this->analyse([__DIR__ . '/data/bug-12458.php'], []);
193197
}
194198

0 commit comments

Comments
 (0)