Skip to content

Commit 7139557

Browse files
phpstan-botclaude
authored andcommitted
Remove unnecessary #[RequiresPhp] from testBug6934
RuleTestCase uses php-parser which can parse nullsafe syntax on any PHP version, so #[RequiresPhp('>= 8.0')] is not needed. Other nullsafe tests in this file (e.g. testNullSafe) run without this attribute. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent df42df0 commit 7139557

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/PHPStan/Rules/Methods/CallMethodsRuleTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3945,7 +3945,6 @@ public function testBug7369(): void
39453945
]);
39463946
}
39473947

3948-
#[RequiresPhp('>= 8.0')]
39493948
public function testBug6934(): void
39503949
{
39513950
$this->checkThisOnly = false;

0 commit comments

Comments
 (0)