Skip to content

Commit a83bdc4

Browse files
committed
fixup! Support dynamic name expressions in rules
1 parent de75ab4 commit a83bdc4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/PHPStan/Rules/Classes/ClassConstantRuleTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ public function testClassConstantAccessedOnTrait(): void
437437

438438
public function testDynamicAccess(): void
439439
{
440-
if (PHP_VERSION_ID < 80200) {
441-
$this->markTestSkipped('Test requires PHP 8.2.');
440+
if (PHP_VERSION_ID < 80300) {
441+
$this->markTestSkipped('Test requires PHP 8.3.');
442442
}
443443

444444
$this->phpVersion = PHP_VERSION_ID;

tests/PHPStan/Rules/Classes/data/dynamic-constant-access.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php // lint >= 8.2
1+
<?php // lint >= 8.3
22

33
namespace ClassConstantDynamicAccess;
44

0 commit comments

Comments
 (0)