Skip to content

Commit 6c2ab2d

Browse files
Fix
1 parent c29d5ca commit 6c2ab2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/PHPStan/Rules/Functions/ParameterCastableToNumberRuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function testBug13775(): void
167167
];
168168
}
169169

170-
$this->analyse([__DIR__ . '/data/bug-13775.php'], $errors);
170+
$this->analyse([__DIR__ . '/data/bug-13775.php'], $this->hackPhp74ErrorMessages($errors));
171171
}
172172

173173
public function testBug13775Bis(): void
@@ -210,7 +210,7 @@ public function testBug13775Bis(): void
210210
];
211211
}
212212

213-
$this->analyse([__DIR__ . '/data/bug-13775-bis.php'], $errors);
213+
$this->analyse([__DIR__ . '/data/bug-13775-bis.php'], $this->hackPhp74ErrorMessages($errors));
214214
}
215215

216216
public function testBug12146(): void

0 commit comments

Comments
 (0)