Skip to content

Commit 52713b7

Browse files
committed
Test updates.
1 parent 99e2ffa commit 52713b7

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

tests/PHPStan/Rules/Methods/OverridingMethodRuleTest.php

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -687,15 +687,12 @@ public function testBug9615(): void
687687
public function testBug10149(): void
688688
{
689689
$this->phpVersionId = PHP_VERSION_ID;
690-
$errors = [];
691-
if (PHP_VERSION_ID >= 80300) {
692-
$errors = [
693-
[
694-
'Method Bug10149\StdSat::__get() has #[\Override] attribute but does not override any method.',
695-
10,
696-
],
697-
];
698-
}
690+
$errors = [
691+
[
692+
'Method Bug10149\StdSat::__get() has #[\Override] attribute but does not override any method.',
693+
10,
694+
],
695+
];
699696
$this->analyse([__DIR__ . '/data/bug-10149.php'], $errors);
700697
}
701698

0 commit comments

Comments
 (0)